Description Usage Arguments Value Examples
Convert a VCF to an MVRangesList object
1 2 3 4 5 6 7 |
vcf_filename |
A filename/path to the corresponding VCF |
bam_filename |
A filename/path to the corresponding BAM |
gzip |
Is the input gzipped? (TRUE; really ought not matter) |
biscuit |
Is the input VCF from biscuit? (FALSE) |
verbose |
Print all messages during progress? (TRUE) |
an MVRangesList
1 2 3 4 5 6 7 | library(MTseekerData)
VCFdir <- system.file("extdata", package="MTseekerData")
VCF <- file.path(VCFdir, list.files(VCFdir, pattern="*.vcf.gz$"))
mvr <- vcf2mvrl(VCF)[[1]]
mvr$FILTER <- ifelse(totalDepth(mvr) >= 20, "PASS", ".")
mvr$PASS <- mvr$FILTER == "PASS"
filterMT(mvr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.