View source: R/tree_manipulation.R
is_root | R Documentation |
Vectorized tree root finder
is_root(x, ...) ## S3 method for class 'Strata' is_root(x, ...) ## S3 method for class 'phylo' is_root(x, id = 1:tree_size(x), type = "auto", ...)
x |
phylo object |
... |
Arguments passed on to |
id |
vector of ids or names |
type |
id type: ['name', 'index', 'auto'] |
logical vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.