consensusKME(multiExpr, moduleLabels,
multiEigengenes = NULL,
consensusQuantile = 0,
signed = TRUE,
useModules = NULL,
countWeightPower = 1,
corAndPvalueFnc = corAndPvalue, corOptions = list(), corComponent = "cor",
getQvalues = FALSE,
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.countWeightPower.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", ....moduleLabels.countWeightPower.countWeightPower. Only returned if the function corAndPvalueFnc
returns the Z statistics corresponding to the correlations.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.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 a matrix
of associations of genes and eigengenes.
This component should have the name given by corComponent below. Other components are optional but
for full functionality should include
(1) 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 (2) 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.