Description Usage Arguments Value Author(s) Examples
Creates an igraph object from a square input correlation matrix - only positive correlations are used. Based on the graph.adjacency function of igraph. gplot is helpful for visualization.
1 2 3 4 5 6 7 |
mat |
input matrix |
graphdensity |
fraction of edges to keep |
communityMethod |
see igraph's community detection |
getEfficiency |
boolean, this is slow to compute |
inverseValuesAsWeights |
if TRUE, high correlations produce small
edge weights. This detail is important when using igraph algorithms as
different methods use weights in different ways. See igraph for its
|
a named list is output including the graph object, adjacency matrix and several graph metrics
Avants BB
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.