View source: R/orca_interface.R
graph_to_indexed_edges | R Documentation |
Takes a igraph graph object and generates an edgelist where each edge is represented by the integer indexes of its vertices. Note that, where a graph has isolated vertices, the indexes for these vertices will not be present in the edge list. Where a graph has no isolated vertices, the edge list will include all vertex indexes from 1 to numVertices.
graph_to_indexed_edges(graph)
graph |
An igraph graph object |
A 2 x numEdges edgelist with vertices labelled with integer indices and a 1 x numVertices node list where the Nth element of the vector contains the label for the vertice represented by index N in the edgelist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.