View source: R/strahlerNumber.R
strahlerNumber | R Documentation |
Computes the Strahler number of all nodes and tips in a phylogenetic tree.
strahlerNumber(tree, plot=TRUE)
extract.strahlerNumber(tree, i, plot=TRUE)
tree |
an object of class |
i |
order of Strahler number to extract for |
plot |
logical value indicating whether to plot the tree with Strahler numbers for node labels. |
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
.
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"
.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.