Description Usage Arguments Value
Returns the index of the node with a given label.
1 | tree.node.with.label(phylo, label, return.one = FALSE)
|
phylo |
input phylo object |
label |
character, the label to search for in the tree. |
return.one |
boolean, TRUE if a maximum of one matching node should be returned, FALSE if all matching nodes should be returned. Defaults to TRUE. |
integer vector corresponding to the indices of all nodes with the given label. Returns a zero-length vector if no nodes matched.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.