treeman (version 1.1.3)

ultrTree: Make tree ultrametric

Description

Returns a tree with all tips ending at time 0

Usage

ultrTree(tree)

Arguments

tree

TreeMan object

Details

Re-calculates the branch lengths in the tree so that all tips are brought to the same time point: all species are extant.

See Also

https://github.com/DomBennett/treeman/wiki/manip-methods

Examples

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
(getDcsd(tree))  # list all extinct tips
tree <- ultrTree(tree)
(getDcsd(tree))  # list all extinct tips
# }

Run the code above in your browser using DataCamp Workspace