View source: R/tree_manipulation.R
clean_phyid | R Documentation |
Convert node/tip name to id, check size
clean_phyid(x, id, len = NULL, type = "auto")
x |
phylo or Strata object |
id |
integer id or a node label |
len |
require id to be of this length (NULL for no requirement) |
type |
['auto', 'index', or 'name'], is 'index' then the id is expected to be an index in the phylo object, if 'name' it is expected to be a node or tip name, if 'auto' the value is assumed to be a name if it is a character string. |
on success, return a valid integrel id
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.