exportFilteredAsVcf: convenience wrapper for dumping filtered variants directly to...

Description Usage Arguments Value Examples

View source: R/exportFilteredAsVcf.R

Description

convenience wrapper for dumping filtered variants directly to an indexed VCF

Usage

1

Arguments

vars

an MVRanges or MVRangesList to filter, HGVS-annotate, and dump

file

the name of the resulting VCF file to produce (default is NULL)

...

other arguments, passed to filterMTvars()

Value

the filtered set of variants (as an MVRanges) that was exported

Examples

1
2
3
library(MTseekerData) 
filterMTvars(RONKSvariants$RO_1)
exportFilteredAsVcf(RONKSvariants$RO_1, file=NULL) # not written to a file 

trichelab/MTseeker documentation built on March 8, 2021, 6:20 p.m.