View source: R/lotri2edgeList.R
lotri2edgeList | R Documentation |
Turn the lower triangle of a connectivity matrix (e.g. correlation matrix or similar) to an edge list of the form: Source, Target, Weight
lotri2edgeList(A, filename = NULL, verbose = TRUE)
A |
Square matrix |
filename |
Character: Path for csv file. Defaults to "conmat2edgelist.csv" |
verbose |
Logical: If TRUE, print messages to console |
The output can be read, for example, into gephi
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.