refdb_filter_seq_ambiguous {refdb}R 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)


[Package refdb version 0.1.1 Index]