spatial.dist: Calculate Euclidean distance between vertices (MNI space)
Description
This function calculates the Euclidean distance of edges between vertices of
a graph. The distances are in mm and based on MNI space. The distances are
NOT along the cortical surface, so can only be considered
approximations, particularly concerning inter-hemispheric connections. The
input graph must have atlas as a graph-level attribute.Value
- A numeric vector with length equal to the edge count of the input
graph