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(icceTree, node)
|
icceTree |
icceTree data structure |
node |
node number |
new tree topology–node is now a leaf and all of node's descendants are removed.
1 | icceTree <- remove_branches_from_node(icceTree, node=8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.