drawRandomPS: Draw sets of probe-sets

Description Usage Arguments Value Author(s) Examples

View source: R/adSplit.R

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

1
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

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

adSplit documentation built on Nov. 8, 2020, 5:40 p.m.