skbio.tree.BPTree.height#

BPTree.height(i)[source]#

The height of node i with respect to its deepest descendent

Parameters:
iint

The node to evaluate

Returns:
int

The number of edges between node i and its deepest node

Notes

Height is in terms of number of edges, not in terms of branch length