View source: R/genesToBarcodes.R
genesToBarcodes | R Documentation |
Extracts Tumor Sample Barcodes where the given genes are mutated.
genesToBarcodes(maf, genes = NULL, justNames = FALSE, verbose = TRUE)
maf |
an |
genes |
Hogo_Symbol for which sample names to be extracted. |
justNames |
if TRUE, just returns samples names instead of summarized tables. |
verbose |
Default TRUE |
list of data.table
s with samples in which given genes are mutated.
laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml <- read.maf(maf = laml.maf)
genesToBarcodes(maf = laml, genes = 'DNMT3A')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.