TabixFile-methods {rtracklayer} | R Documentation |
These methods support the import of
Rsamtools:TabixFile
TabixFile objects. These are generally
useful when importing tabix-indexed files that have a non-standard
format (i.e., not BED nor GFF). This relies on the tabix header,
which indicates the columns in the file that correspond to the
chromosome, start and end. The BED and GFF parsers handle tabix
transparently.
## S4 method for signature 'TabixFile,character,ANY' import(con, format, text, which = if (is.na(genome)) NULL else as(seqinfoForGenome(genome), "GenomicRanges"), genome = NA, header = TRUE, ...) ## S4 method for signature 'TabixFile,missing,ANY' import(con, format, text, ...)
con |
A |
format |
If any known format, like “bed” or “gff” (or one of their variants), then the appropriate parser is applied. If any other value, then the tabix header is consulted for the format. By default, this is taken from the file extension. |
text |
Ignored. |
which |
A range data structure coercible to |
genome |
The identifier of a genome, or |
header |
If |
... |
Extra arguments to pass to the underlying import routine,
which for non-standard formats is |
A RangedData
or GRanges
, depending on arguments.
Michael Lawrence
http://samtools.sourceforge.net/tabix.shtml
scanTabix
and friends