View source: R/tree_manipulation.R
descendent_nodes | R Documentation |
Get all nodes (leafs and ancestors) descending from, and including, a set of ids
descendent_nodes(x, ...)
## S3 method for class 'Strata'
descendent_nodes(x, id, type = "name", ...)
## S3 method for class 'phylo'
descendent_nodes(x, id, type = "auto", ...)
x |
phylo object |
... |
Arguments passed on to |
id |
vector of ids or names |
type |
id type: ['name', 'index', 'auto'] |
integer vector of leaf and node ids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.