powered by
Check if the DNA sequence are in the 4 default types
checkDNA(x)
A character vector, as the input DNA sequence.
Logical. TRUE if all of the DNA types of the sequence are within the 4 default types.
TRUE
The result character vector
This function checks if the DNA sequence types are in the 4.
# NOT RUN { x = 'GACTGAACTGCACTTTGGTTTCATATTATTTGCTC' checkDNA(x) # TRUE checkDNA(paste(x, 'Z', sep = '')) # FALSE # }
Run the code above in your browser using DataLab