refdb_filter_seq_ambiguous: Filter sequences based on their number of ambiguous...

View source: R/refdb_filter.R

refdb_filter_seq_ambiguousR Documentation

Filter sequences based on their number of ambiguous character.

Description

Filter sequences based on their number of ambiguous character.

Usage

refdb_filter_seq_ambiguous(x, max_ambig = 3L, char = "N")

Arguments

x

a reference database.

max_ambig

maximum number of ambiguous character.

char

characters interpreted as ambiguous (vector).

Value

A tibble (filtered reference database).

Examples

lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb"))
lib <- refdb_set_fields_BOLD(lib)
refdb_filter_seq_ambiguous(lib)


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