View source: R/create_bal_unbal_tree.R
create_fully_unbalanced_tree | R Documentation |
This function takes an input phylogeny, and returns a phylogeny that is a perfectly imbalanced tree (e.g. a full caterpillar tree), that has the same branching times as the original input tree.
create_fully_unbalanced_tree(phy)
phy |
phylo object |
phylo phylo object
phy <- ape::rphylo(n = 16, birth = 1, death = 0)
bal_tree <- treestats::create_fully_unbalanced_tree(phy)
treestats::colless(phy)
treestats::colless(bal_tree) # much higher
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.