Utilites              package:ShortRead              R Documentation

_U_t_i_l_i_t_i_e_s _f_o_r _c_o_m_m_o_n, _s_i_m_p_l_e _o_p_e_r_a_t_i_o_n_s

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

     These functions perform a variety of simple operations.

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

     polyn(nucleotides, n)

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

nucleotides: A character vector with all elements having exactly 1
          character, typically from the IUPAC alphabet.

       n: An 'integer(1)' vector.

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

     'polyn' returns a character vector with each element having 'n'
     characters. Each element contains a single nucleotide. Thus
     'polyn("A", 5)' returns 'AAAAA'.

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

     'polyn' returns a character vector of length 'length(nucleotide)'

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

     Martin Morgan <mtmorgan@fhcrc.org>

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

     polyn(c("A", "N"), 35)

