powered by
Convert missing taxonomic names to NA
refdb_clean_tax_NA(x, cols = NULL, hybrid = TRUE, uncertain = FALSE)
A reference database.
a reference database.
an optional vector of column names. If NULL (default), the function is applied to the columns associated with the taxonomy and organism fields.
NULL
taxonomy
organism
hybrids are converted to NA (default TRUE).
TRUE
taxa with qualifiers of uncertainty (cf., aff., etc.) are converted to NA (default FALSE).
FALSE
lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb")) lib <- refdb_set_fields_BOLD(lib) refdb_clean_tax_NA(lib)
Run the code above in your browser using DataLab