Description Usage Arguments Value Examples
Given a tree and a selected node, this function removes the branches stemming off of that node, thus making that node a leaf. It returns this altered tree.
1 | remove_branches_from_node(tree, node)
|
tree |
ape::phylo tree |
node |
node number |
new tree topology–node is now a leaf and all of node's descendants are removed.
1 2 | tree <- remove_branches_from_node(tree, node)
... some visualization
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.