Learn R Programming

brainGraph (version 0.72.0)

vertex_spatial_dist: Calculate average Euclidean distance for each vertex

Description

This function calculates, for each vertex of a graph, the average Euclidean distance across all of that vertex's connections.

Usage

vertex_spatial_dist(g)

Arguments

g
An igraph graph object

Value

A named numeric vector of average distance (in mm)

References

Alexander-Bloch A.F., Vertes P.E., Stidd R. et al. (2013) The anatomical distance of functional connections predicts brain network topology in health and schizophrenia. Cerebral Cortex, 23:127-138.