Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

genesToBarcodes

Extracts Tumor Sample Barcodes where the given genes are mutated.


Description

Extracts Tumor Sample Barcodes where the given genes are mutated.

Usage

genesToBarcodes(maf, genes = NULL, justNames = FALSE, verbose = TRUE)

Arguments

maf

an MAF object generated by read.maf

genes

Hogo_Symbol for which sample names to be extracted.

justNames

if TRUE, just returns samples names instead of summarized tables.

verbose

Default TRUE

Value

list of data.tables with samples in which given genes are mutated.

Examples

laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml <- read.maf(maf = laml.maf)
genesToBarcodes(maf = laml, genes = 'DNMT3A')

maftools

Summarize, Analyze and Visualize MAF Files

v2.6.05
MIT + file LICENSE
Authors
Anand Mayakonda [aut, cre] (<https://orcid.org/0000-0003-1162-687X>)
Initial release
2015-12-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.