genesToBarcodes: Extracts Tumor Sample Barcodes where the given genes are...

Description Usage Arguments Value Examples

View source: R/genesToBarcodes.R

Description

Extracts Tumor Sample Barcodes where the given genes are mutated.

Usage

1
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

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

thesushantpatil/maftools documentation built on May 18, 2020, 9:54 p.m.