Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rescaleSimmap

Rescale SIMMAP style tree


Description

This function scales a tree with a mapped discrete character to an arbitrary total height, preserving the relative time spent in each state along each edge.

Usage

rescaleSimmap(tree, ...)

Arguments

tree

a phylogenetic tree in modified "phylo" format with a discrete character mapping (e.g., see read.simmap or make.simmap).

...

other arguments, such as depth.

Details

Replaces rescaleTree (now rescale.phylo) in the 'geiger' package for SIMMAP style trees.

Value

A phylogenetic tree in modified "phylo" format.

Author(s)

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also


phytools

Phylogenetic Tools for Comparative Biology (and Other Things)

v0.7-70
GPL (>= 2)
Authors
Liam J. Revell
Initial release
2020-9-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.