force_ultrametric: Force a tree to be ultrametric

Description Usage Arguments Value Examples

View source: R/tree_helpers.R

Description

Force a tree to be ultrametric by extending its terminal branches

Usage

1

Arguments

tree

a phylo object

Value

an ultrametric tree

Examples

1
2
tree_u <- force_ultrametric(alcohol$tree)
ape::is.ultrametric(tree_u)

abichat/zazou documentation built on Sept. 8, 2021, 6:53 a.m.