RNA_BASES
RNA_ALPHABET
d <- DNAString("TTGAAAA-CTC-N")
r <- RNAString(d)
r
alphabet(r) # RNA_ALPHABET
alphabet(r, baseOnly=TRUE) # RNA_BASES
## When comparing an RNAString object with a DNAString object,
## U and T are considered equals:
r == d # TRUE
Run the code above in your browser using DataLab