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.
An igraph graph object
A numeric vector with length equal to the edge count of the input graph
Christopher G. Watson, email@example.com