This function returns the IUPAC symbol for a nucleotide sequence, for instance
c("c", "c", "g") is coded by
a nucleotide sequence as a vector of single chars
if TRUE warns when no IUPAC symbol is possible
whether this is a DNA or a RNA sequence
The sequence is forced in lower case letters and ambiguous bases are expanded before trying to find an IUPAC symbol.
A single IUPAC symbol in lower case, or NA when this is not possible.
The nomenclature for incompletely specified bases in nucleic acid sequences at: http://www.chem.qmul.ac.uk/iubmb/misc/naseq.html
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.