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, LID2PSenv, allLIDs)

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

     nps: number of probe-sets to be drawn.

LID2PSenv: a hash mapping LOCUSLINK to probe-set identifiers.

 allLIDs: vector of all LOCUSLINK identifiers represented on a chip.

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

     A named vector of probe-set identifiers. The names correspond to
     the LOCUSLINK 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)
     LID2PSenv <- makeLID2PROBESenv(hu6800LOCUSID)
     drawRandomPS(10, LID2PSenv, ls(LID2PSenv))

