Description Usage Arguments Value
View source: R/utility_functions.R
Get all the descendants of a given node in a tree.
1 | descendants(phy, a, keep_node = FALSE)
|
phy |
A phylo object that specifies the tree. |
a |
The number of a node in phy. |
keep_node |
If FALSE, do not include a in the result. |
A vector of nodes (specified by number) that are descendants of a. Includes internal and tip nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.