This function calculates the nodewise topological distances to a selected node based on the generated network.

ref_dist_nodewise(obj_mapper, node_idx)

Arguments

obj_mapper

An object of class TDAmapper.

node_idx

The index of the selected node.

Value

A vector of distance to the selected node. Distance of outlier nodes will be set to NA.