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.
rescaleSimmap(tree, ...)
A phylogenetic tree in modified "phylo"
format.
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
.
Liam Revell liam.revell@umb.edu
Replaces rescaleTree
(now rescale.phylo
) in the 'geiger' package for SIMMAP style trees.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
make.simmap
, read.simmap