This function provides a simplified interface to the expression data simulation, at the cost of considerably less flexibility.
simulateDatExpr5Modules(
nGenes = 2000,
colorLabels = c("turquoise", "blue", "brown", "yellow", "green"),
simulateProportions = c(0.1, 0.08, 0.06, 0.04, 0.02),
MEturquoise, MEblue, MEbrown, MEyellow, MEgreen,
SDnoise = 1, backgroundCor = 0.3)
total number of genes to be simulated.
labels for simulated modules.
a vector of length 5 giving proportions of the total number of genes to be placed in each individual module. The entries must be positive and sum to at most 1. If the sum is less than 1, the leftover genes will be simulated outside of modules.
seed module eigengene for the first module.
seed module eigengene for the second module.
seed module eigengene for the third module.
seed module eigengene for the fourth module.
seed module eigengene for the fifth module.
level of noise to be added to the simulated expressions.
backgrond correlation. If non-zero, a component will be added to all genes such
that the average correlation of otherwise unrelated genes will be backgroundCor
.
A list with the following components:
the simulated expression data in a data frame, with rows corresponding to samples and columns to genes.
a vector with one entry per gene containing the simulated module membership.
a data frame containing a copy of the input module eigengenes.
Roughly one-third of the genes are simulated with a negative correlation to their seed eigengene. See
the functions simulateModule
and simulateDatExpr
for more details.
simulateModule
for simulation of individual modules;
simulateDatExpr
for a more comprehensive data simulation interface.