phylo.toBackbone {phytools} | R Documentation |
Converts tree to backbone or vice versa
Description
Converts between "phylo"
and "backbonePhylo"
.
Usage
phylo.toBackbone(x, trans, ...)
backbone.toPhylo(x)
Arguments
x |
an object of class |
trans |
data frame containing the attributes necessary to translate a backbone tree to an object of class |
... |
optional arguments. |
Value
Either an object of class "phylo"
or an object of class "backbonePhylo"
, depending on the method.
Author(s)
Liam Revell liam.revell@umb.edu
References
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.