Visualize prior distribution for a gene (tumor-specific or pancancer).
Source:R/plot_prior.R
plot_prior.Rd
Visualize prior distribution for a gene (tumor-specific or pancancer).
Arguments
- x
A prior distribution in the format required for
INCOMMON
, such asINCOMMON::pcawg_priors
.- gene
Gene for gene-specific prior.
- tumor_type
Tumor type for tumor-specific prior ('PANCA' for pan-cancer).
Examples
# First load example classified data
data(MSK_classified)
# Plot classification results for a specific sample
plot_prior(x = MSK_classified, gene = 'TP53', tumor_type = 'PAAD')