get_node_distance: Get distance of a node to an ancestor node

Description Usage Arguments

View source: R/utils.R

Description

Get the distance of a node to another node in the tree

Usage

1
get_node_distance(node, ancestor_node)

Arguments

node, ancestor_node

An object of class ExplorerNode.

If node is the ancestor node, 0 is returned. If ancestor_node is no ancestor of node, NULL is returned.


DavidBarke/shinyExplorer documentation built on Aug. 28, 2020, 8:54 p.m.