readSingleChromosomeVCFToMatrixByRange | R Documentation |
Read a range from VCF file and return a genotype matrix
readSingleChromosomeVCFToMatrixByRange(fileName, range, indexFileName = NULL)
fileName |
character, represents an input VCF file (Bgzipped, with Tabix index) |
range |
character, a text indicating which range in the VCF file to extract. e.g. 1:100-200, 1-based index |
indexFileName |
character, index file, by default, it s 'fileName'.scIdx |
genotype matrix
http://zhanxw.com/seqminer/ for online manual and examples
fileName = system.file("vcf/all.anno.filtered.extract.vcf.gz", package = "seqminer")
cfh <- readSingleChromosomeVCFToMatrixByRange(fileName, "1:196621007-196716634")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.