is_dna_seq | R Documentation |
Determine if the string is a lowercase DNA sequence of at least one base pair
is_dna_seq(s)
s |
the string to be checked |
TRUE if the string is a lowercase DNA sequence of at least one base pair
Richèl J.C. Bilderbeek
# TRUE: valid and lowercase characters
is_dna_seq("acgt")
# FALSE: Must be lowercase
is_dna_seq("AGCT")
# FALSE: Must be only valid characters
is_dna_seq("xxxx")
# FALSE: Must have at least one nucleotide
is_dna_seq("")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.