Description Usage Arguments Value Examples
Add description
| 1 | extract_variants_from_maf(maf, extra_fields = NULL)
 | 
| maf | MAF object loaded by read.maf() from the 'maftools' package | 
| extra_fields | Optionally extract additional columns from the
maf object. Default  | 
Returns a data.table of variants from a maf which can be used to
create a bagel object.
| 1 2 3 4 5 | maf_file <- system.file("testdata", "public_TCGA.LUSC.maf",
package = "BAGEL")
library(maftools)
maf <- read.maf(maf_file)
variants <- extract_variants_from_maf(maf = maf)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.