Description Usage Arguments Details Value Author(s) Examples
Load multiple vcf files and output a GRange object with SNVs present in multiple samples.
1 | Multiple_VCF(vcfs, share_num, ...)
|
vcfs |
a list of GRanges object which input from multiple VCF files using function InputVcf. |
share_num |
Two options, percentage format or sample number. |
... |
additional arguments |
This function allows to limit SNVs that are present in at least m out of n VCF files.
a GRange object that contains the shared variations
Xiaojing Wang
1 2 3 4 | path <- system.file("extdata/vcfs", package="customProDB")
vcfFiles<- paste(path, '/', list.files(path, pattern="*vcf$"), sep='')
vcfs <- lapply(vcfFiles, function(x) InputVcf(x))
shared <- Multiple_VCF(vcfs, share_num=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.