Description Usage Arguments Value Author(s)
Get the distance from a node to the root of a tree
1 | depth.tree(tree, node)
|
tree |
A vector of character strings, each containing a newick tree |
node |
A vector of character strings, giving the node name to use for each tree. Will be recycled to the length of the first argument. |
A numeric vector containing the distance from each given node to the root of the corresponding tree.
Melissa J. Hubisz and Adam Siepel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.