graph.contract.brain: Contract graph vertices based on brain lobe and hemisphere

Description Usage Arguments Value See Also

Description

This function creates a new graph after merging multiple vertices based on brain lobe and hemisphere membership. The new vertex size is equal to the number of vertices in each lobe. The x- and y- coordinates of the new vertices are equal to the mean 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.

Usage

1

Arguments

g

An igraph graph object

Value

A new igraph graph object

See Also

contract.vertices



Search within the brainGraph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.