makePolytomy | R Documentation |
This function collapses nodes under a certain support value into a polytomy
makePolytomy(tree = NULL, polytomy.limit = NULL)
tree |
phylogenetic tree from ape read.tree in phylo format |
polytomy.limit |
the threshold for collapsing a node into a polytomy |
phylogenetic tree in phylo format, with the nodes collapsed into polytomies.
your.tree = ape::read.tree(file = "file-path-to-tree.tre")
new.tree = makePolytomy(tree = your.tree, polytomy.limit = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.