graph_interaction | R Documentation |
Convert an igraph graph object to interaction data frame. This is the
reverse of the operation done by thje interaction_graph
function. Networks can be easily converted to igraph objects, then
you can make use of all igaph methods, and at the end, get back the
interactions in a data frame, along with all new edge and node attributes.
graph_interaction(graph, implode = FALSE)
graph |
An igraph graph object created formerly from an OmniPath interactions data frame. |
implode |
Logical: restore the original state of the list type columns by imploding them to character vectors, subitems separated by semicolons. |
An interaction data frame.
interaction_graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.