lotri2edgeList: Connectivity Matrix to Edge List

View source: R/utils_graph.R

lotri2edgeListR Documentation

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, verbosity = 1L)

Arguments

A

Square matrix

filename

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

verbosity

Integer: Verbosity level.

Details

The output can be read, for example, into gephi

Value

Data frame with columns: NodeA, NodeB, Weight

Author(s)

EDG


egenn/rtemis documentation built on June 14, 2025, 11:54 p.m.