refdb_set_ncbitax {refdb} | R Documentation |
Replace the current taxonomy using the NCBI Taxonomy database
Description
Replace the current taxonomy using the NCBI Taxonomy database
Usage
refdb_set_ncbitax(
x,
min_level = "species",
force_species_name = TRUE,
verbose = TRUE
)
Arguments
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. |
Value
The reference database with the NCBI taxonomy for the genus level and higher ranks. (the original taxonomy above the genus level is removed).
Examples
## 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)
[Package refdb version 0.1.1 Index]