powered by
Get all possible valid IUPAC ambiguity codes for a set of nucleotide bases and ambiguity codes.
validIupacCodes(bases)
character vector of nucleotides or IUPAC codes to be checked.
character vector of valid IUPAC codes for bases.
bases
# NOT RUN { validIupacCodes(c("c", "t", "c", "c")) validIupacCodes(c("c", "y", "c", "c")) validIupacCodes(c("a", "g", "t", "a")) # }
Run the code above in your browser using DataLab