readBGENToListByRange | R Documentation |
Read information from BGEN file in a given range and return a list
readBGENToListByRange(fileName, range)
fileName |
character, represents an input BGEN file (Bgzipped, with Tabix index) |
range |
character, a text indicating which range in the BGEN file to extract. e.g. 1:100-200, 1-based index |
a list of chrom, pos, varid, rsid, alleles, isPhased, probability, sampleId
http://zhanxw.com/seqminer/ for online manual and examples
fileName = system.file("bgen/all.anno.filtered.extract.bgen", package = "seqminer")
cfh <- readBGENToListByRange(fileName, "1:196621007-196716634")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.