ref_dist_nodewise: Nodewise topological distance to a node

View source: R/evaluation.R

ref_dist_nodewiseR Documentation

Nodewise topological distance to a node

Description

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

Usage

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.


TianshuFeng/SemiMapper documentation built on Sept. 16, 2022, 10:26 p.m.