Learn R Programming

seqminer (version 2.0)

tabix: Read tabix file, similar to running tabix in command line.

Description

Read tabix file, similar to running tabix in command line.

Usage

tabix(tabixFile, tabixRange)

Arguments

tabixFile
character, an tabix indexed file
tabixRange
character, a text indicating which range in the VCF file to extract. e.g. 1:100-200

Value

  • character vector, each elements is an individual line

See Also

http://zhanxw.com/seqminer/ for online manual and examples

Examples

Run this code
fileName = system.file("vcf/all.anno.filtered.extract.vcf.gz", package = "seqminer")
snp <- tabix(fileName, "1:196623337-196632470")

Run the code above in your browser using DataLab