View source: R/old_taxa--taxon_database.R
| taxon_database | R Documentation |
Used to store information about taxonomy databases. This is typically used to store where taxon information came from in [taxon()] objects.
taxon_database(name = NULL, url = NULL, description = NULL, id_regex = NULL)
name |
(character) name of the database |
url |
(character) url for the database |
description |
(character) description of the database |
id_regex |
(character) id regex |
An 'R6Class' object of class 'TaxonDatabase'
[database_list]
Other classes:
hierarchies(),
hierarchy(),
taxa(),
taxmap(),
taxon(),
taxon_id(),
taxon_name(),
taxon_rank(),
taxonomy()
# create a database entry
(x <- taxon_database(
"ncbi",
"http://www.ncbi.nlm.nih.gov/taxonomy",
"NCBI Taxonomy Database",
"*"
))
x$name
x$url
# use pre-created database objects
database_list
database_list$ncbi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.