View source: R/orca_interface.R
indexed_edges_to_graph | R Documentation |
Takes an integer indexed edgelist (where each edge is represented by the integer indexes of its vertices) and converts it to an igraph format graph. If the edge list has a "vertex_names" attribute, this will be used to name the vertices in the resultant graph.
indexed_edges_to_graph(indexed_edges)
indexed_edges |
A 2 x numEdges edgelist with vertices labelled with integer indices, with an optional "vertex_names" attribute |
An igraph graph object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.