count_edges: Count number of edges of a brain graph

Description Usage Arguments Value Author(s) Examples

Description

count_homologous counts the number of edges between homologous regions in a brain graph (e.g. between L and R superior frontal).

count_interlobar counts the number of edges between all vertices in one major lobe (e.g. Frontal) and all other major lobes.

Usage

1
2
3

Arguments

g

An igraph graph object

lobe

A character string indicating the lobe to count from (uppercase)

Value

count_homologous - a named vector of the edge ID's connecting homologous regions

count_interlobar - a data.table of total, intra-, and inter-lobar edge counts

Author(s)

Christopher G. Watson, [email protected]

Examples

1
2
3
4
## Not run: 
g1.frontal <- count_interlobar(g[[1]][[N]], 'Frontal')

## End(Not run)

brainGraph documentation built on May 29, 2018, 9:03 a.m.