The function strahlerNumber
computes the Strahler number of all nodes and tips in the tree. For more information about Strahler numbers see https://en.wikipedia.org/wiki/Strahler_number. The function extract.strahlerNumber
extracts all of the most inclusive clades of Strahler number i
.
strahlerNumber(tree, plot=TRUE)
extract.strahlerNumber(tree, i, plot=TRUE)
Either a vector with the Strahler number for each tip and internal node; or (for extract.strahlerNumber
the set of (most inclusive) subtrees with Strahler number i
as an object of class "multiPhylo"
.
an object of class "phylo"
.
order of Strahler number to extract for extract.strahlerNumber
.
logical value indicating whether to plot the tree with Strahler numbers for node labels.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.