db_ref {taxa}R Documentation

Valid taxonomy databases

Description

This defines the valid taxonomic databases that can be used in taxon_db objects and objects that use taxon_db objects, such as taxon_id and taxon. db_ref$get can be used to see information for the databases. Users can add their own custom databases to the list using db_ref$set. For each database the following information is included:

Usage

db_ref

Format

An object of class list of length 3.

Attribution

This code is based on the code handling options in the knitr package.

Examples


# List all database definitions
db_ref$get()

# Get a specific database definition
db_ref$get('ncbi')

# Add or overwrite a database definition
db_ref$set(
  name = "my_new_database",
  url = "http://www.my_tax_database.com",
  desc = "I just made this up",
  id_regex = ".*"
)

# Reset definitions to default values
db_ref$reset()


[Package taxa version 0.4.3 Index]