View source: R/tree_manipulation.R
get_root | R Documentation |
There should normally be only one, but if there are more, this function will find all of them.
get_root(x)
## S3 method for class 'Strata'
get_root(x)
## S3 method for class 'phylo'
get_root(x)
x |
phylo object |
... |
Arguments passed to |
index of the root node (or nodes if there are more than one)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.