normalize_tree: Normalizes branch lengths to a unit tree height

Description Usage Arguments Value

Description

Normalizes all branch lengths including the root.edge if presents by the same factor, so that the distance from the root to all tips is equal to one.

Usage

1
normalize_tree(tree, check.ultrametric = TRUE)

Arguments

tree

ultrametric tree of class phylo with branch lengths, and edges in postorder.

check.ultrametric

logical. If TRUE, it checks if the input tree is ultrametric.

Value

normalized phylogenetic tree, of class phylo.


khabbazian/l1ou documentation built on May 20, 2019, 9:21 a.m.