Skip to contents

Turn the lower triangle of a connectivity matrix (e.g. correlation matrix or similar) to an edge list of the form: Source, Target, Weight

Usage

lotri2edgeList(A, filename = NULL, verbosity = 1L)

Arguments

A

Square matrix

filename

Character: Path for csv file. Defaults to "conmat2edgelist.csv"

verbosity

Integer: Verbosity level.

Value

Data frame with columns: NodeA, NodeB, Weight

Details

The output can be read, for example, into gephi

Author

EDG