seqnamesTabix {Rsamtools} | R Documentation |
Retrieve sequence names defined in a tabix file.
Description
This function queries a tabix file, returning the names of the ‘sequences’ used as a key when creating the file.
Usage
seqnamesTabix(file, ...)
## S4 method for signature 'character'
seqnamesTabix(file, ...)
Arguments
file |
A |
... |
Additional arguments, currently ignored. |
Value
A character()
vector of sequence names present in the file.
Author(s)
Martin Morgan <mtmorgan@fhcrc.org>.
Examples
fl <- system.file("extdata", "example.gtf.gz", package="Rsamtools",
mustWork=TRUE)
seqnamesTabix(fl)
[Package Rsamtools version 2.18.0 Index]