Description Usage Arguments Details Author(s) References Examples
Create Gephi File from graph object
1 2 3 4 5 6 7 | write_gephi(
graph,
node_attributes,
directory = getwd(),
name = Sys.Date(),
node_names = NULL
)
|
graph |
An igraph object |
node_attributes |
A vector or data frame of different metrics describing the nodes (ie, modularity, degree). |
directory |
Character vector specifyig directory for file output. Defaults to current working directory. |
name |
A name for the output. Defaults to the current date. |
node_names |
A vector of node labels. By default searches global environemnt for a vector titled "colnames". |
This function simplifies the use of the igraph to .gexf conversion in the rgexf package.
Brandon Vaughan
Bastian M., Heymann S., Jacomy M. (2009). Gephi: an open source software for exploring and manipulating networks. International AAAI Conference on Weblogs and Social Media.
https://gephi.org/
1 2 | attributes = cbind.data.frame(colMeans(EVC) , colMean(STR), colMeans(MODULE))
write_gephi(graph=group_avg_graph, attributes, directory = "C:/Users/Abnormally-Distributed/Documents/", name="Group_Average_Graph")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.