export.igraph: Export interactions to an igraph object.
Description
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.
Usage
export.igraph(GIObject)
"export.igraph"(GIObject)
Arguments
GIObject
A GInteractions object.
Value
a graph.data.frame representation of the GInteractions object