taxa (version 0.3.3)

taxon_database: Taxonomy database class

Description

Used to store information about taxonomy databases. This is typically used to store where taxon information came from in taxon() objects.

Usage

taxon_database(name = NULL, url = NULL, description = NULL, id_regex = NULL)

Arguments

name

(character) name of the database

url

(character) url for the database

description

(character) description of the database

id_regex

(character) id regex

Value

An R6Class object of class TaxonDatabase

See Also

database_list

Other classes: hierarchies(), hierarchy(), taxa(), taxmap(), taxon_id(), taxon_name(), taxon_rank(), taxonomy(), taxon()

Examples

Run this code
# NOT RUN {
# 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
# }

Run the code above in your browser using DataCamp Workspace