background returns background genes for judging the quality of the cleaning.
These genes are supposed to represent the majority of genes. The positive control and
negative control genes should be excluded.
Usage
background(Y, nBG, exclude, nc_index)
Arguments
Y
A matrix of gene expression values or an object of
the class simulateGEdata.
nBG
An integer setting the number of background genes.
exclude
A vector of indices of genes to exclude.
nc_index
A vector of indices of negative controls (also
excluded from being background genes).
Value
background returns a vector of randomly chosen indices.