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, EID2PSenv, allEIDs)

Arguments

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.

Value

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

Author(s)

Claudio Lottaz

Examples

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

[Package adSplit version 1.12.0 Index]