extract_variants_from_maf_file: Extracts variants from a maf file

Description Usage Arguments Value Examples

View source: R/load_data.R

Description

Add Description - Aaron

Usage

1
extract_variants_from_maf_file(maf_file, extra_fields = NULL)

Arguments

maf_file

Location of maf file

extra_fields

Optionally extract additional columns from the object. Default NULL.

Value

Returns a data.table of variants from a maf

Examples

1
2
3
maf_file <- system.file("extdata", "public_TCGA.LUSC.maf",
package = "musicatk")
maf <- extract_variants_from_maf_file(maf_file = maf_file)

musicatk documentation built on Nov. 8, 2020, 5:16 p.m.