powered by
Read a range from BCF file and return a genotype matrix
readSingleChromosomeBCFToMatrixByRange(fileName, range, indexFileName = NULL)
genotype matrix
character, represents an input BCF file (Bgzipped, with Tabix index)
character, a text indicating which range in the BCF file to extract. e.g. 1:100-200, 1-based index
character, index file, by default, it s `fileName`.scIdx
http://zhanxw.com/seqminer/ for online manual and examples
fileName = system.file("vcf/all.anno.filtered.extract.headerFixed.bcf.gz", package = "seqminer") cfh <- readSingleChromosomeBCFToMatrixByRange(fileName, "1:196621007-196716634")
Run the code above in your browser using DataLab