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)

