View source: R/refdb_ncbi_taxonomy.R
refdb_set_ncbitax | R Documentation |
Replace the current taxonomy using the NCBI Taxonomy database
refdb_set_ncbitax( x, min_level = "species", force_species_name = TRUE, verbose = TRUE )
x |
a reference database (tibble) with one or several columns giving the taxonomy of each record and explicitly indicated in the field taxonomy. See refdb_set_fields. |
min_level |
minimum taxonomic level at which taxonomy
should be replaced. Default is the finest level ( |
force_species_name |
if |
verbose |
print information in the console. |
The reference database with the NCBI taxonomy for the genus level and higher ranks. (the original taxonomy above the genus level is removed).
## Not run: lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb")) lib <- refdb_set_fields_BOLD(lib) refdb_set_ncbitax(lib) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.