reverseSeq            package:matchprobes            R Documentation

_R_e_v_e_r_s_e _S_e_q_u_e_n_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     Functions to obtain the reverse and reverse complement of a
     sequence

_U_s_a_g_e:

     reverseSeq(seq)
     revcompDNA(seq)
     revcompRNA(seq)

_A_r_g_u_m_e_n_t_s:

     seq: Character vector.  For 'revcompRNA' and 'revcompDNA' the
          sequence should consist of appropriate letter codes:
          '[ACGUN]' and 'ACGTN', respectively.

_D_e_t_a_i_l_s:

     The function reverses the order of the constituent character
     strings of its argument.

_V_a_l_u_e:

     A character vector of the same length as 'seq'.

_A_u_t_h_o_r(_s):

     R. Gentleman, W. Huber, S. Falcon

_S_e_e _A_l_s_o:

     'basecontent','complementSeq'

_E_x_a_m_p_l_e_s:

      w <-  c("hey there", "you silly fool")
      reverseSeq(w)

      w <- "able was I ere I saw Elba"
      reverseSeq(w)

     rna1 <- "UGCA"
     revcompRNA(rna1)

     dna1 <- "TGCA"
     revcompDNA(dna1)

