Learn R Programming

phytools (version 2.3-0)

rescale: Rescale phylogenetic objects of different types

Description

Generic method for rescaling different types of phylogenetic trees.

Usage

rescale(x, ...)

Value

A rescaled phylogenetic tree object.

Arguments

x

phylogenetic tree object to be rescaled: e.g., object of class "phylo" or "simmap".

...

other arguments to be used in rescaling, depending on the object class. (E.g., see rescale.phylo in geiger and rescale.simmap.)

Author

Liam Revell liam.revell@umb.edu

Details

See rescale.phylo in geiger and rescale.simmap for details.

References

Pennell, M.W., J. M. Eastman, G. J. Slater, J. W. Brown, J. C. Uyeda, R. G. FitzJohn, M. E. Alfaro, and L. J. Harmon (2014) geiger v2.0: an expanded suite of methods for fitting macroevolutionary models to phylogenetic trees. Bioinformatics, 30, 2216-2218.

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

rescale.phylo, rescale.simmap