connectivity.matrix.from.edge.list: Convert an edge list to a connectivity matrix.

View source: R/connectome.R

connectivity.matrix.from.edge.listR Documentation

Convert an edge list to a connectivity matrix.

Description

Convert an edge list to a connectivity matrix.

Usage

connectivity.matrix.from.edge.list(edge_list)

Arguments

edge_list

data.frame with the columns 'source', 'target' and 'weight'.

Value

named list with entries 'matrix' (the connectivity matrix) and 'names' (the node names).


fsbrain documentation built on Sept. 27, 2026, 1:07 a.m.