seedRegions             package:microRNA             R Documentation

_A _f_u_n_c_t_i_o_n _t_o _r_e_t_r_i_e_v_e _t_h_e _s_e_e_d _r_e_g_i_o_n_s _f_r_o_m _m_i_c_r_o_R_N_A _s_e_q_u_e_n_c_e_s

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

     The seed region of a microRNA consists of a set of nucleotides at
     the 5' end of the microRNA, typically bases 2 through 7, although
     some times 8 is used.

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

     seedRegions(x, start = 2, stop = 7)

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

       x: A vector of microRNA sequences. 

   start: The start locations, can be a vector. 

    stop: The stop locations, can be a vector. 

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

     We use 'substr' to extract these sequences.

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

     A vector of the same length as 'x' with the substrings.

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

     R. Gentleman

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

     'substr'

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

      data(hsSeqs)
      seedRegions(hsSeqs[1:5])
      seedRegions(hsSeqs[1:3], start=c(2,1,2), stop=c(8,7,9))

