Learn R Programming

phytools (version 1.5-1)

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. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.