randomDiana2means {adSplit} | R Documentation |
Draws a number of random sets of probe-sets consisting of the needed
size and applies diana2means
to compute DLD scores.
randomDiana2means(nprobes, data, chip, ndraws = 10000, ngenes = 50, ignore.genes = 5)
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 ) |
This function uses drawRandomPS
to draw ndraws
gene
sets. On these it applies diana2means
to determine a
null-distribution of DLD-scores.
A vector of DLD-scores.
Joern Toedling, Claudio Lottaz
# prepare data library(vsn) library(golubEsets) data(Golub_Merge) # generate DLD scores scores <- randomDiana2means(20, exprs(Golub_Merge), "hu6800", ndraws = 500)