refdb_check_tax_conflict: Check for conflicts in taxonomy

View source: R/refdb_checks.R

refdb_check_tax_conflictR Documentation

Check for conflicts in taxonomy

Description

Check for conflicts in taxonomy

Usage

refdb_check_tax_conflict(x)

Arguments

x

a reference database.

Value

A list of two-columns tibbles reporting for each taxonomic level the taxa with identical names but different upstream taxonomy.

Examples

lib <- read.csv(system.file("extdata", "ephem.csv", package = "refdb"))
lib <- refdb_set_fields(lib,
                        taxonomy = c(family = "family_name",
                            genus = "genus_name",
                            species = "species_name"),
                        sequence = "DNA_seq",
                        marker = "marker")
refdb_check_tax_conflict(lib)


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