refdb_clean_tax_remove_uncertainty: Remove terms indicating uncertainty in taxonomic names

View source: R/refdb_clean.R

refdb_clean_tax_remove_uncertaintyR Documentation

Remove terms indicating uncertainty in taxonomic names

Description

Remove terms indicating uncertainty in taxonomic names

Usage

refdb_clean_tax_remove_uncertainty(x, cols = NULL)

Arguments

x

a reference database.

cols

an optional vector of column names. If NULL (default), the function is applied to the columns associated with the taxonomy and organism fields.

Value

A reference database.

Warning

Marks of taxonomic uncertainty provided by specialists are not without value. The consequences of their deletion must be well understood by the user before using this function.

Examples

lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb"))
lib <- refdb_set_fields_BOLD(lib)
refdb_clean_tax_remove_uncertainty(lib)


refdb documentation built on Sept. 22, 2022, 5:07 p.m.