ancestor_at_depth | R Documentation |
Find the ancestor of a node above a specific depth
ancestor_at_depth(tree, node, depth)
tree |
an object of class phylo |
node |
the index of the node |
depth |
the depth to search to |
the index of the ancestor node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.