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)

