Last chance! 50% off unlimited learning
Sale ends in
simulateModule(
ME,
nGenes,
nNearGenes = 0,
minCor = 0.3, maxCor = 1, corPower = 1,
signed = FALSE, propNegativeCor = 0.3,
verbose = 0, indent = 0)
TRUE
,
all genes will be simulated to have positive correlation with the eigengene. If FALSE
, a
proportion given by propNegativeCor
will besigned
is FALSE
.maxCor
to minCor
.
The genes are otherwise independent from one another. The variable corPower
determines how fast
the correlation drops towards minCor
. Higher powers lead to a faster frop-off; corPower
must be
above zero but need not be integer.
If signed
is FALSE
, the genes are simulated so as to be part of an unsigned network module,
that is some genes will be simulated with a negative correlation with the seed eigengene (but of the same
absolute value that a positively correlated gene would be simulated with). The proportion of genes with
negative correlation is controlled by propNegativeCor
.
Optionally, the function can also simulate genes that are "near" the module, meaning they are
simulated with a low but non-zero correlation with the seed eigengene. The correlations run between
minCor
and zero.simulateEigengeneNetwork
for a simulation of eigengenes with a given causal structure;
simulateDatExpr
for simulations of whole datasets consisting of multiple modules;
simulateDatExpr5Modules
for a simplified interface to expression simulations;
simulateMultiExpr
for a simulation of several related data sets.