root_tree.phylo | R Documentation |
This function roots a phylogenetic tree given three tip labels.
root_tree.phylo(tree, tips)
tree |
An object of class phylo |
tips |
Three tip labels |
Tips a, b and c define exactly one internal node in the unrooted tree. The tree will be rooted on the branch leading from this node to tip a.
The branch labels (e.g. support values) are handled correctly, i.e. moved to the correct nodes. When the tree is rooted on a non-tip branch, its branch label will be copied to both child notes of the root node.
An object of class phylo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.