Description Usage Arguments Details References Examples
Return a phylo object with tip edges less than min.length removed.
1 | collapseTips(tree, min.length, iterative = TRUE)
|
tree |
phylogenetic tree (ape class) |
min.length |
smallest length for a tip edge |
iterative |
run until no tip edges less than min.length, default TRUE |
Tips are removed, but the tree age is preserved. Returned trees are therefore not the same phylogenetic tree as that given. The purpose of the function is to generate representations of trees with fewer tips for plotting purposes.
Set iterative as TRUE to keep removing all tip edges less than min.length.
No references yet! https://github.com/DomBennett/MoreTreeTools.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.