node.depth

0th

Percentile

Depth of Nodes and Tips

This function returns the depth of nodes and tips given by the number of descendants (1 is returned for tips).

Keywords
manip
Usage
node.depth(phy)
Details

The depth of a node is computed as the number of tips which are its descendants. The value of 1 is given to the tips.

Value

A numeric vector indexed with the node numbers of the matrix `edge' of phy.

See Also

plot.phylo

Aliases
Documentation reproduced from package ape, version 3.0-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.