drawRandomPS             package:adSplit             R Documentation

_D_r_a_w _s_e_t_s _o_f _p_r_o_b_e-_s_e_t_s

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

     This function draws a given number of probe-sets randomly, such
     that probe-sets referring to the same are either included or
     excluded as a whole.

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

     drawRandomPS(nps, EID2PSenv, allEIDs)

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

     nps: number of probe-sets to be drawn.

EID2PSenv: a hash mapping EntrezGene to probe-set identifiers.

 allEIDs: vector of all EntrezGene identifiers represented on a chip.

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

     A named vector of probe-set identifiers. The names correspond to
     the EntrezGene identifiers.

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

     Claudio Lottaz

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

     # draw ten random probe-sets from hu6800
     library(hu6800.db)
     EID2PSenv <- makeEID2PROBESenv(hu6800ENTREZID)
     drawRandomPS(10, EID2PSenv, ls(EID2PSenv))

