is_valid_dna_character.Rd
Detect invalid IUPAC DNA characters
is_valid_dna_character(x, negate = FALSE)
x | A character vector which convert to a bstr object. |
---|---|
negate | If TRUE, return non-matching elements. |
#> [1] TRUE TRUE TRUE TRUE FALSEis_valid_dna_character(test, negate = TRUE) %>% test[.]#> [1] "e"