Learn R Programming

phytools (version 0.2-40)

rescaleSimmap: Rescale SIMMAP style tree

Description

This function re-scales a SIMMAP style tree to an arbitrary total height.

Usage

rescaleSimmap(tree, totalDepth=1.0)

Arguments

tree
a phylogenetic tree in modified "phylo" format with a discrete character mapping (e.g., see read.simmap or make.simmap).
totalDepth
a new desired value for the total depth (height) of the tree. If the tree is not ultrametric this is the maximum height.

Value

  • a phylogenetic tree in modified "phylo" format.

Details

Replaces rescaleTree in the 'geiger' package for SIMMAP style trees.

See Also

make.simmap, read.simmap