RNA2DNA               package:microRNA               R Documentation

_A _F_u_n_c_t_i_o_n _t_o _t_r_a_n_s_l_a_t_e _R_N_A _s_e_q_u_e_n_c_e_s _i_n_t_o _D_N_A _s_e_q_u_e_n_c_e_s.

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     RNA2DNA(x)

_A_r_g_u_m_e_n_t_s:

       x: A valid RNA sequence. 

_D_e_t_a_i_l_s:

     No checking for validity of sequence is made, and the input
     sequence is translated to upper case.

_V_a_l_u_e:

     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'.

_A_u_t_h_o_r(_s):

     R. Gentleman

_S_e_e _A_l_s_o:

     'chartr'

_E_x_a_m_p_l_e_s:

      input = c("AUCG", "uuac")
      RNA2DNA(input)

