Check for conflicts in taxonomy

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)
#> $family_name
#> # A tibble: 0 × 2
#> # ℹ 2 variables: Taxon <chr>, Taxonomy <???>
#> 
#> $genus_name
#> # A tibble: 0 × 2
#> # ℹ 2 variables: Taxon <chr>, Taxonomy <???>
#> 
#> $species_name
#> # A tibble: 0 × 2
#> # ℹ 2 variables: Taxon <chr>, Taxonomy <???>
#>