Read information from BGEN file in a given range and return a list
readBGENToListByRange(fileName, range)
character, represents an input BGEN file (Bgzipped, with Tabix index)
character, a text indicating which range in the BGEN file to extract. e.g. 1:100-200
a list of genes, and each elements has specified vcfColumn, vcfinfo, vcfIndv
http://zhanxw.com/seqminer/ for online manual and examples
# NOT RUN { fileName = system.file("bgen/all.anno.filtered.extract.bgen", package = "seqminer") cfh <- readBGENToListByRange(fileName, "1:196621007-196716634") # }
Run the code above in your browser using DataLab