is_valid_orf: Check open reading frame validity

Description Usage Arguments Examples

Description

Check open reading frame validity

Usage

1
is_valid_orf(dstrobj, check_stop = FALSE, negate = FALSE)

Arguments

dstrobj

dstr class object or character vector

check_stop

If TRUE, check the presence of stop codon.

negate

If TRUE, return non-matching elements.

Examples

1
2
3
(test <- dstr(c("ATGtga", "AAGTGA", "ATGGGGTGA", "ATGGGTGA", "ATGGGG","ATGGG")))
is_valid_orf(test)
is_valid_orf(test, check_stop = TRUE)

t-arae/bstringr documentation built on March 18, 2021, 3:08 a.m.