Coerce the structure of an object to one following BED-like
conventions, i.e., with columns for blocks and thick regions.
Usage
asBED(x, ...)
"asBED"(x)
Arguments
x
Generally, a tabular object to structure as BED
...
Arguments to pass to methods
Value
A GRanges, with the columns name,
blockStarts and blockSizes added.
Details
The exact behavior depends on the class of object.
GRangesList
This treats object as if it were a
list of transcripts, i.e., each element contains the exons of a
transcript. The blockStarts and
blockSizes columns are derived from the ranges in each
element. Also, add name column from names(object).