Last chance! 50% off unlimited learning
Sale ends in
Extracts Tumor Sample Barcodes where the given genes are mutated.
genesToBarcodes(maf, genes = NULL, justNames = FALSE)
Hogo_Symbol for which sample names to be extracted.
if TRUE, just returns samples names instead of summarized tables.
list of data.table
s with samples in which given genes are mutated.
# NOT RUN {
laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml <- read.maf(maf = laml.maf, removeSilent = TRUE, useAll = FALSE)
genesToBarcodes(maf = laml, genes = 'DNMT3A')
# }
Run the code above in your browser using DataLab