makeUnique               package:limma               R Documentation

_M_a_k_e _V_a_l_u_e_s _o_f _C_h_a_r_a_c_t_e_r _V_e_c_t_o_r _U_n_i_q_u_e

_D_e_s_c_r_i_p_t_i_o_n:

     Paste characters on to values of a character vector to make them
     unique.

_U_s_a_g_e:

     makeUnique(x)

_A_r_g_u_m_e_n_t_s:

       x: object to be coerced to a character vector

_D_e_t_a_i_l_s:

     Repeat values of 'x' are labelled with suffixes "1", "2" etc.

_V_a_l_u_e:

     A character vector of the same length as 'x'

_A_u_t_h_o_r(_s):

     Gordon Smyth

_S_e_e _A_l_s_o:

     'makeUnique' is called by 'merge.RGList'.

_E_x_a_m_p_l_e_s:

     x <- c("a","a","b")
     makeUnique(x)

