View source: R/getRegexPattern.R
getRegexPattern | R Documentation |
The function getRegexPattern() converts a nucleotide sequence with IUPAC codes to an regular expression.
getRegexPattern(iupacSeq, isDNA = FALSE)
iupacSeq |
A character string with IUPAC codes. |
isDNA |
A logical specifying whether the iupacSeq is DNA or RNA. Deafult value is FALSE. |
A character string.
regextPattern <- getRegexPattern("CGUKMBVNN", isDNA = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.