as.ultrametric: Function to extend the terminal branches of a phylo object so...

View source: R/as.ultrametric.r

as.ultrametricR Documentation

Function to extend the terminal branches of a phylo object so that the resulting tree is ultrametric.

Description

Function to extend the terminal branches of a phylo object so that the resulting tree is ultrametric.

Usage

as.ultrametric(phylo)

Arguments

phylo

An object of class "phylo" that is rooted.

Details

The final root-to-tip distance of each tip will be that of the furthest from the root.

Value

An object of class "phylo", rooted and ultrametric

Author(s)

Chris Field <fieldc@ethz.ch>

Examples

None

cmfield/apextra documentation built on July 11, 2022, 3:42 a.m.