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)

