View source: R/calPropDriver.R
calPropDriver | R Documentation |
The mutations are classified by classifyMut()
internally.
calPropDriver( maf, patient.id = NULL, driverGene, class = "SP", classByTumor = FALSE, vaf.cutoff = 0.01, silent.columns = NULL )
maf |
Maf or MafList object generated by |
patient.id |
Select the specific patients. Default |
driverGene |
The driver Gene names (Genes Symbols) |
class |
The class which would be represented.
"SP" (Shared pattern: Public/Shared/Private), other options: "CS" (Clonal status: Clonal/Subclonl)
and "SPCS". see |
classByTumor |
Logical (Default: |
vaf.cutoff |
Removing mutations of low variant allele frequency (VAF). |
silent.columns |
The |
# Get the driver gene. driverGene <- read.delim(system.file(package = "MPTevol", "extdata", "IntOGen-Drivers-Cancer_Genes.tsv"), header = T) %>% filter(CANCER_TYPE %in% c("BRCA", "COREAD", "LUAD", "LUSC")) %>% pull(SYMBOL) %>% unique() prop = calPropDriver(maf, patient.id = "BRCA", driverGene = driverGene) prop$BRCA$plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.