Returns the length from the tree root to the given node. Note: the node can be given either as a node index or a tip label.
1 | tree.depth.to.root(phylo, node)
|
phylo |
input phylo object |
node, |
either integer or character. When integer, the node index of the desired node to query. When character, the label of the desired node to query. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.