contract_brainGraph: Contract graph vertices based on brain lobe and hemisphere

Description Usage Arguments Details Value Author(s) See Also

View source: R/contract_brainGraph.R

Description

Create a new graph after merging multiple vertices based on brain lobe and hemisphere membership.

Usage

1

Arguments

g

An igraph graph object

Details

The vertex size of the resultant graph is equal to the number of vertices in each lobe (in the input graph). The x- and y- coordinates of the new vertices are equal to the mean coordinates of the lobe vertices of the original graph. The new edge weight is equal to the number of inter-lobular connections of the original graph.

Value

A new igraph graph object

Author(s)

Christopher G. Watson, [email protected]

See Also

contract


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