uniquegenelist             package:limma             R Documentation

_E_l_i_m_i_n_a_t_e _D_u_p_l_i_c_a_t_e _N_a_m_e_s _f_r_o_m _t_h_e _G_e_n_e _L_i_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     Eliminate duplicate names from the gene list. The new list is
     shorter than the full list by a factor of 'ndups'.

_U_s_a_g_e:

     uniquegenelist(genelist,ndups=2,spacing=1)

_A_r_g_u_m_e_n_t_s:

genelist: vector of gene names

   ndups: number of duplicate spots. The number of rows of 'genelist'
          must be divisible by 'ndups'.

 spacing: the spacing between duplicate names in 'genelist'

_V_a_l_u_e:

     A vector of length 'length(genelist)/ndups' containing each gene
     name once only.

_A_u_t_h_o_r(_s):

     Gordon Smyth

_S_e_e _A_l_s_o:

     'unwrapdups'

_E_x_a_m_p_l_e_s:

     genelist <- c("A","A","B","B","C","C","D","D")
     uniquegenelist(genelist,ndups=2)
     genelist <- c("A","B","A","B","C","D","C","D")
     uniquegenelist(genelist,ndups=2,spacing=2)

