export.igraph | R Documentation |
Exports a GInteractions object to graph.data.frame for use by igraph package. This uses unique anchors as nodes and generates edges between them. For the resulting graph to be easily interpretable, anchors should be non-overlapping. This should already be the case for HiC data (either binned or restriction fragments), however ChIA-PET data can contain overlapping anchors, which may need to be reduced to non-overlapping regions before graph export.
export.igraph(GIObject) ## S4 method for signature 'GInteractions' export.igraph(GIObject)
GIObject |
A GInteractions object. |
a graph.data.frame representation of the GInteractions object
data(hic_example_data) ig <- export.igraph(hic_example_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.