Description Usage Arguments Details Value Author(s) Examples
The InputVcf() function generates a list of GRanges object from a single VCF file.
1 |
vcfFile |
a character contains the path and name of a VCF file |
... |
additional arguments |
Read all fields in a VCF file into GRanges object.
a list of GRanges object containing a representation of data from the VCF file
Xiaojing Wang
1 2 3 4 5 6 7 8 9 10 11 | ## multiple samples in one VCF file
vcffile <- system.file("extdata", "test_mul.vcf", package="customProDB")
vcfs <- InputVcf(vcffile)
length(vcfs)
## single sample
vcffile <- system.file("extdata/vcfs", "test1.vcf", package="customProDB")
vcf <- InputVcf(vcffile)
length(vcf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.