multiData.eigengeneSignificance(
multiData, multiTrait,
moduleLabels, multiEigengenes = NULL,
useModules = NULL,
corAndPvalueFnc = corAndPvalue, corOptions = list(),
corComponent = "cor",
getQvalues = FALSE, setNames = NULL,
excludeGrey = TRUE, greyLabel = ifelse(is.numeric(moduleLabels), 0, "grey"))
checkSets
). A vector of lists; in
each list there must be a component named data
whose content
is a matrix or dataframe or array of didata
component of each component list can be either a vector or a data frame (matrix, array of dimension 2).multiExpr
.moduleLabels
. If not given, will be calculated from
multiExpr
.useModules
.corAndPvalueFnc
. See details.corAndPvalueFnc
that contains the actual correlation.names(multiExpr)
. If those are
NULL
as well, the names will be "Set_1", "Set_2", ...
.corAndPvalueFnc
).getWvalues
is
TRUE
.corAndPvalueFnc
).The function corAndPvalueFnc
is currently
is expected to accept arguments x
(gene expression profiles) and y
(eigengene expression
profiles). Any additional arguments can be passed via corOptions
.
The function corAndPvalueFnc
should return a list which at the least contains (1) a matrix
of associations of genes and eigengenes (this component should have the name given by corComponent
),
and (2) a matrix of the corresponding p-values, named "p" or "p.value". Other components are optional but
for full functionality should include
(3) nObs
giving the number of observations for each association (which is the number of samples less
number of missing data - this can in principle vary from association to association), and (4) Z
giving a Z static for each observation. If these are missing, nObs
is calculated in the main
function, and calculations using the Z statistic are skipped.