Description Usage Arguments Value Author(s) References See Also
These methods support the import and export of
Rsamtools:TabixFile
TabixFile objects. These are generally
useful when working with tabix-indexed files that have a non-standard
format (i.e., not BED nor GFF), as well as exporting an object with
arbitrary columns (like a GRanges) to an indexed, tab-separated
file. 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.
1 2 3 4 5 6 |
con |
For |
object |
The object to export. It is coerced to 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 |
For import
, a GRanges
object.
For exportToTabix
, a TabixFile
object that is directly
passable to import
.
Michael Lawrence
http://samtools.sourceforge.net/tabix.shtml
scanTabix
and friends
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.