randomDiana2means: Generate null-distributions of DLD-scores

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/adSplit.R

Description

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

Usage

1
2
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)

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

1
2
3
4
5
6
7
# prepare data
library(vsn) 
library(golubEsets) 
data(Golub_Merge) 

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

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