Usage
simulateDatExpr(
eigengenes,
nGenes,
modProportions,
minCor = 0.3,
maxCor = 1,
corPower = 1,
signed = FALSE,
propNegativeCor = 0.3,
geneMeans = NULL,
backgroundNoise = 0.1,
leaveOut = NULL,
nSubmoduleLayers = 0,
nScatteredModuleLayers = 0,
averageNGenesInSubmodule = 10,
averageExprInSubmodule = 0.2,
submoduleSpacing = 2,
verbose = 1, indent = 0)
Arguments
eigengenes
a data frame containing the seed eigengenes for the simulated modules. Rows
correspond to samples and columns to modules.
nGenes
total number of genes to be simulated.
modProportions
a numeric vector with length equal the number of eigengenes in eigengenes
plus one, containing fractions of the total number of genes to be put into each of the modules and into
the "grey module", which means genes not related to any of the
minCor
minimum correlation of module genes with the corresponding eigengene. See details.
maxCor
maximum correlation of module genes with the corresponding 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.
backgroundNoise
amount of background noise to be added to the simulated expression data.
leaveOut
optional specification of modules that should be left out of the simulation, that is
their genes will be simulated as unrelated ("grey"). This can
be useful when simulating several sets, in some which a module is present while in others it is absent.
nSubmoduleLayers
number of layers of ordered submodules to be added. See details.
nScatteredModuleLayers
number of layers of scattered submodules to be added. See details.
averageNGenesInSubmodule
average number of genes in a submodule. See details.
averageExprInSubmodule
average strength of submodule expression vectors.
submoduleSpacing
a number giving submodule spacing: this multiple of the submodule size will
lie between the submodule and the next one.
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.