edgelist | R Documentation |
This is a S3 generic to convert a suitable object represetning (on some way) a graph to an
edgelist which can be inported to igraph
by the function graph_from_edgelist.
as.edgelist(x, ...)
x |
The R object to convert to an edgelist |
... |
further arguments passed to or from other methods. |
library(micInt) library(igraph) sim.scores <- similarity_measures(subset= c("spearman","pearson")) res <- runAnalysis(OTU_table = seawater,iterations = 100,sim.scores = sim.scores,parallel = FALSE) int_table <- res$similarity_measures_significance$spearman edgelist <- as.edgelist(int_table) graph_from_edgelist(edgelist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.