powered by
Replace NA values in taxonomic classification using upstream ranks.
refdb_fill_tax_downstream(x, qualifier = "indet.")
A reference database.
a reference database.
a string to add the new labels. Default ensure that refdb_clean_tax_NA will correctly identify the label as NA.
refdb_clean_tax_NA
refdb_fill_tax_upstream to replace NA values using downstream data.
lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb")) lib <- refdb_set_fields_BOLD(lib) refdb_fill_tax_downstream(lib)
Run the code above in your browser using DataLab