Retrieves the nearest neighbor for each node from a PathwaySpace object using Euclidean distance.
Arguments
- ps
Either a PathwaySpace or GraphSpace object.
Value
A data.frame with columns from, to, and
dist, listing each node's nearest neighbor and the Euclidean
distance between them.