normalize_tree | R Documentation |
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.
normalize_tree(tree, check.ultrametric = TRUE)
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. |
normalized phylogenetic tree, of class phylo.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.