ambiguous2regex | R Documentation |
Converts ambiguous dna to an appropriate regular expression
ambiguous2regex(dna)
dna |
input sequence with ambiguous bases |
regular expression to match the ambiguous dna
https://en.wikipedia.org/wiki/Nucleic_acid_notation
dnaRegex<-ambiguous2regex('ANRT') grepl(dnaRegex,c('ATGT','ACAT','AGTT'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.