Calculate Euclidean distance of edges

Share:

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.

Usage

1

Arguments

g

An igraph graph object

Value

A numeric vector with length equal to the edge count of the input graph

Author(s)

Christopher G. Watson, cgwatson@bu.edu

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.