View source: R/translatePattern.R
translatePattern | R Documentation |
translate pattern containing the IUPAC nucleotide ambiguity codes to regular expression. For example,Y->[C|T], R-> [A|G], S-> [G|C], W-> [A|T], K-> [T|U|G], M-> [A|C], B-> [C|G|T], D-> [A|G|T], H-> [A|C|T], V-> [A|C|G] and N-> [A|C|T|G].
translatePattern(pattern)
pattern |
a character vector with the IUPAC nucleotide ambiguity codes |
a character vector with the pattern represented as regular expression
Lihua Julie Zhu
countPatternInSeqs, summarizePatternInPeaks
pattern1 = "AACCNWMK"
translatePattern(pattern1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.