drawRandomPS {adSplit}R Documentation

Draw sets of probe-sets

Description

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.

Usage

drawRandomPS(nps, LID2PSenv, allLIDs)

Arguments

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.

Value

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

Author(s)

Claudio Lottaz

Examples

# draw ten random probe-sets from hu6800
library(hu6800)
LID2PSenv <- makeLID2PROBESenv(hu6800LOCUSID)
drawRandomPS(10, LID2PSenv, ls(LID2PSenv))

[Package adSplit version 1.2.0 Index]