add_leaf_branch | R Documentation |
Add a leaf branch to an existing tree tree_old
add_leaf_branch(tree_old, div_t, new_leaf_label, where, position)
tree_old |
the original "phylo" tree (with K leaves) to which the leaf branch will be added |
div_t |
divergence time of the new branch |
new_leaf_label |
the label of the newly added leaf |
where |
node name of to which node in the existing tree the new leaf branch should connect to |
position |
the numerical location of the left side of the added branch |
a "phylo" tree with K+1 leaves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.