Learn R Programming

phytools (version 2.3-0)

as.multiPhylo: Conversion to object of class "multiPhylo"

Description

This function converts between object classes.

Usage

as.multiPhylo(x, ...)
# S3 method for multiSimmap
as.multiPhylo(x, ...)
# S3 method for phylo
as.multiPhylo(x, ...)

Value

An object of class "multiPhylo".

Arguments

x

object to be converted to "multiPhylo". Presently an object of class "multiSimmap", or an object of class "phylo". In the latter case an object of class "multiPhylo" with length 1 is generated.

...

optional arguments.

Author

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.