refdb_filter_seq_length {refdb}R Documentation

Filter sequences based on their number of character.

Description

Filter sequences based on their number of character.

Usage

refdb_filter_seq_length(x, min_len = NULL, max_len = NULL, gaps = FALSE)

Arguments

x

a reference database.

min_len, max_len

minimum and maximum sequence lengths. Use NULL (default) to ignore.

gaps

if TRUE gaps are accounted.

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_length(lib, 50L)


[Package refdb version 0.1.1 Index]