ultrTree: Make tree ultrametric

View source: R/a.R

ultrTreeR Documentation

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


tree <- randTree(10)
(getDcsd(tree)) # list all extinct tips
tree <- ultrTree(tree)
(getDcsd(tree)) # list all extinct tips

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.