asBED,GInteractions-method | R Documentation |
Coerce the structure of an object to one following BED-like conventions, i.e., with columns for blocks and thick regions.
## S4 method for signature 'GInteractions' asBED(x, keep.mcols = FALSE, score = "score", ...)
x |
Generally, a tabular object to structure as BED |
keep.mcols |
logical whether to keep non-BED12 columns in final output (may cause problems with some parsers). |
score |
character, which field to export as 'score' in BED12. Defaults to 'auto' which will choose score, then counts, if present, or fill column with zeros. |
... |
Arguments to pass to methods, see |
A 'GRanges', with the metadata columns 'name', 'blockStarts' and 'blockSizes' added.
data(hic_example_data) asBED(hic_example_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.