taxo_id | R Documentation |
Get the ids of taxa from their names
taxo_id(taxon_names, taxo)
taxon_names |
vector of character strings with taxonomic names |
taxo |
a taxonomy data.frame, typically from |
A vector ids, one for each element of taxon_names
. Currently, this does not disambiguate between taxa with the same name and just returns the id of the first match in the taxonomy.
Other taxonomy-related functions:
ancestors()
,
as.taxo()
,
children()
,
descendants()
,
extract_taxo()
,
is_leaf()
,
lineage()
,
parent()
,
taxo_name()
taxo
taxo_id("squid", taxo)
taxo_id("foo", taxo)
# NB:
taxo_id("egg", taxo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.