Usage
simulateModule(
ME,
nGenes,
nNearGenes = 0,
minCor = 0.3, maxCor = 1, corPower = 1,
signed = FALSE, propNegativeCor = 0.3,
geneMeans = NULL,
verbose = 0, indent = 0)
Arguments
nGenes
number of genes in the module to be simulated. Must be non-zero.
nNearGenes
number of genes to be simulated with low correlation with the seed eigengene.
minCor
minimum correlation of module genes with the eigengene. See details.
maxCor
maximum correlation of module genes with the eigengene. See details.
corPower
controls the dropoff of gene-eigengene correlation. See details.
signed
logical: should the genes be simulated as belonging to a signed network? If TRUE
,
all genes will be simulated to have positive correlation with the eigengene. If FALSE
, a
proportion given by propNegativeCor
will be
propNegativeCor
proportion of genes to be simulated with negative gene-eigengene correlations.
Only effective if signed
is FALSE
.
geneMeans
optional vector of length nGenes
giving desired mean expression for each gene. If
not given, the returned expression profiles will have mean zero.
verbose
integer level of verbosity. Zero means silent, higher values make the output
progressively more and more verbose.
indent
indentation for diagnostic messages. Zero means no indentation, each unit adds
two spaces.