skbio.tree.BPTree.depth#

BPTree.depth(i)[source]#

The depth of given node.

Parameters:
iint

Index of the node to evaluate.

Returns:
int

Depth of node relative to the root of tree.