refdb_filter_seq_stopcodon {refdb} | R Documentation |
Filter sequences based on their number of of stop codons.
Description
Filter sequences based on their number of of stop codons.
Usage
refdb_filter_seq_stopcodon(x, max_stop = 0, code, codon_frame = NA)
Arguments
x |
a reference database. |
max_stop |
maximum number of stop codons. |
code |
an integer indicating the genetic code to use for translation (see genetic-codes). |
codon_frame |
an integer giving the nucleotide position where
to start translation. If |
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_stopcodon(lib, code = 5)
[Package refdb version 0.1.1 Index]