filterMaf | R Documentation |
Filter MAF by genes or samples
filterMaf(maf, genes = NULL, tsb = NULL, isTCGA = FALSE)
maf |
an MAF object generated by |
genes |
remove these genes |
tsb |
remove these samples (Tumor Sample Barcodes) |
isTCGA |
FALSE |
Filtered object of class MAF-class
subsetMaf
laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml <- read.maf(maf = laml.maf)
#get rid of samples of interest
filterMaf(maf = laml, tsb = c("TCGA-AB-2830", "TCGA-AB-2804"))
#remove genes of intrest
filterMaf(maf = laml, genes =c("TTN", "AHNAK2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.