Learn R Programming

refdb (version 0.1.2)

refdb_check_seq_conflict: Check for conflicts in sequences

Description

Check for conflicts in sequences

Usage

refdb_check_seq_conflict(x, na_omit = TRUE)

Value

A list of two-columns tibbles reporting duplicated sequences with different taxonomy.

Arguments

x

a reference database.

na_omit

if FALSE conflicts involving NA taxonomic names are also reported.

Examples

Run this code
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)

Run the code above in your browser using DataLab