edgelist: edgelist

View source: R/vizConnectome.R

edgelistR Documentation

edgelist

Description

Listing the edges in a connectogram.

Usage

edgelist(data)

Arguments

data

a vector of edge values with a length of 4005, 7021, 23871 or 30135.

Details

This function takes a vector of edge-to-edge connections, and returns a data.frame object containing the edges (defined by their pair of connecting nodes) and their edge values

Value

a data.frame() object with the columns of node_1, node_2 and weight columns

Examples


results=sample(c(1,0, -1), 7021, replace = TRUE, prob = c(0.01, 0.98,0.01))
edgelist(data=results)


FCtools documentation built on Sept. 15, 2026, 5:09 p.m.