refdb_check_seq_conflict: Check for conflicts in sequences

View source: R/refdb_checks.R

refdb_check_seq_conflictR Documentation

Check for conflicts in sequences

Description

Check for conflicts in sequences

Usage

refdb_check_seq_conflict(x, na_omit = TRUE)

Arguments

x

a reference database.

na_omit

if FALSE conflicts involving NA taxonomic names are also reported.

Value

A list of two-columns tibbles reporting duplicated sequences with different 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_seq_conflict(lib)


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