RNA2DNA {microRNA} | R Documentation |
RNA and DNA differ in that RNA uses uracil (U) and DNA uses thiamine (T), this function translates an RNA sequence into a DNA sequence by translating the characters.
RNA2DNA(x)
x |
A valid RNA sequence. |
No checking for validity of sequence is made, and the input sequence is translated to upper case.
A character vector, of the same length as x
where all characters
are in upper case, and any instance of U
in x
is replaced
by a T
.
R. Gentleman
input = c("AUCG", "uuac") RNA2DNA(input)