adSplit (version 1.40.0)

randomDiana2means: 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 correspond 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)

Value

A vector of DLD-scores.

Details

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

See Also

drawRandomPS, diana2means

Examples

Run this code
# prepare data
library(vsn) 
library(golubEsets) 
data(Golub_Merge) 

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

Run the code above in your browser using DataCamp Workspace