resolveNode | R Documentation |
Resolves a single multifurcation or all multifurcations in all possible ways.
resolveNode(tree,node)
resolveAllNodes(tree)
tree |
an object of class |
node |
for |
This functions resolves a single multifurcation or all multifurcations in a tree in all possible ways. If the input tree has edge lengths, then the resolutions will use internal edges of zero length.
For resolveNode
applied to a multifurcation with n descendants, the number of resolved trees will be equal to the number of possible rooted trees of n taxa. (For instance, three for a trifurcation, 15 for a quadrifurcation, and so on.)
For resolveAllNodes
the number of fully resolved trees will be equal to the product of numbers for resolveNode
applied to each multifurcation separately. (For instance, 45 for a tree containing one trifurcation and one quadrifurcation.)
An object of class "multiPhylo"
- or, if the input tree is already fully resolved, an object of class "phylo"
identical to tree
.
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.
multi2di
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.