Learn R Programming

rtemis (version 0.79)

lotri2edgeList: Connectivity Matrix to Edge List

Description

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, verbose = TRUE)

Arguments

A

Square matrix

filename

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

verbose

Logical: If TRUE, print messages to console

Details

The output can be read, for example, into gephi