consensusKME(
multiExpr,
moduleLabels,
multiEigengenes = NULL,
consensusQuantile = 0,
signed = TRUE,
useModules = NULL,
metaAnalysisWeights = NULL,
corAndPvalueFnc = corAndPvalue, corOptions = list(), corComponent = "cor",
getQvalues = FALSE,
useRankPvalue = TRUE,
rankPvalueOptions = list(calculateQvalue = getQvalues, pValueMethod = "scale"),
setNames = NULL,
excludeGrey = TRUE, greyLabel = ifelse(is.numeric(moduleLabels), 0, "grey"))multiExpr.moduleLabels. If not given, will be calculated from
multiExpr.TRUE),
negative kME values are not considered significant and the corresponding p-values will be one-sided. In
unsigned networks (FALSE), negative kMEuseModules.length(multiExpr)). These weights will be used
in addition to constant weights and weicorAndPvalueFnc. See details.corAndPvalueFnc that contains the actual correlation.rankPvalue function be used to obtain alternative
meta-analysis statistics?rankPvalue. These include
na.last (default "keep"), ties.method (default "average"),
calculateQvalue (defanames(multiExpr). If those are
NULL as well, the names will be "Set_1", "Set_2", ....moduleLabels.metaAnalysisWeights is non-NULL.)
Weighted average kME in each module for each gene across the
input data sets. The weight of each data set is given in metaAnalysisWeights.corAndPvalueFnc
returns the Z statistics corresponding to the correlations.corAndPvalueFnc
returns the Z statistics corresponding to the correlations.corAndPvalueFnc
returns the Z statistics corresponding to the correlations.metaAnalysisWeights.
Only returned if metaAnalysisWeights is non-NULL and the function corAndPvalueFnc
returns the Z statistics corresponding to the correlations.corAndPvalueFnc returns the Z statistics corresponding to the correlations.corAndPvalueFnc returns the Z statistics corresponding to the correlations.corAndPvalueFnc returns the Z statistics corresponding to the correlations.metaAnalysisWeights is non-NULL and the function
corAndPvalueFnc returns the Z statistics corresponding to the correlations.getQvalues is TRUE and the function corAndPvalueFnc
returns the Z statistics corresponding to the kME values.getQvalues is TRUE and the function corAndPvalueFnc
returns the Z statistics corresponding to the kME values.getQvalues is TRUE and the function corAndPvalueFnc
returns the Z statistics corresponding to the kME values.metaAnalysisWeights is non-NULL,
getQvalues is TRUE and the function corAndPvalueFnc
returns the Z statistics corresponding to the kME values.rankPvalue and are only present if
input useRankPvalue is TRUE. Some columns may be missing depending on the options specified in
rankPvalueOptions. We explicitly list columns that are based on weighing each set equally; names of
these columns carry the suffix .equalWeights.RootDoFWeights, .DoFWeights, and .userWeights.getQvalues is
TRUE.corAndPvalueFnc
returns the Z statistics corresponding to the kME values.corAndPvalueFnc is currently
is expected to accept arguments x (gene expression profiles), y (eigengene expression
profiles), and alternative with possibilities at least "greater", "two.sided".
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.