randomDiana2means {adSplit}R Documentation

Generate null-distributions of DLD-scores

Description

Draws a number of random sets of probe-sets consisting of the needed size and applies diana2means to compute DLD scores.

Usage

randomDiana2means(nprobes, data, chip, ndraws = 10000, 
                  ngenes = 50, ignore.genes = 5)

Arguments

nprobes the size of gene sets.
data a matrix of expression data, rows corerspond to genes, columns to samples.
chip the name of the used chip.
ndraws the number of DLD scores computed.
ngenes the number of genes used to compute DLD scores (passed to diana2means).
ignore.genes the number of best scoring genes to be ignored when computing DLD scores (passed to diana2means)

Details

This function uses drawRandomPS to draw ndraws gene sets. On these it applies diana2means to determine a null-distribution of DLD-scores.

Value

A vector of DLD-scores.

Author(s)

Joern Toedling, Claudio Lottaz

See Also

drawRandomPS, diana2means

Examples

# prepare data
library(vsn) 
library(golubEsets) 
data(Golub_Merge) 

# generate DLD scores
scores <- randomDiana2means(20, exprs(Golub_Merge), "hu6800", ndraws = 500) 

[Package adSplit version 1.8.0 Index]