This function and all of its descriptions have been obtained from the igraph package.
graph_from_data_frame(d, directed = TRUE, vertices = NULL)
A data frame containing a symbolic edge list in the first two columns. Additional columns are considered as edge attributes. Since version 0.7 this argument is coerced to a data frame with as.data.frame.
Logical scalar, whether or not to create a directed graph.
A data frame with vertex metadata, or NULL. Since version 0.7 of igraph this argument is coerced to a data frame with as.data.frame, if not NULL.
An igraph graph object.
graph_from_adjacency_matrix for a complete description on this function
Other network_reconstruction functions:
MyData <- coexpression.data My_graph <- graph_from_data_frame(d=MyData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.