correlationPreservation: Preservation of eigengene correlations

View source: R/Functions.R

correlationPreservationR Documentation

Preservation of eigengene correlations

Description

Calculates a summary measure of preservation of eigengene correlations across data sets

Usage

correlationPreservation(multiME, setLabels, excludeGrey = TRUE, greyLabel = "grey")

Arguments

multiME

consensus module eigengenes in a multi-set format. A vector of lists with one list corresponding to each set. Each list must contain a component data that is a data frame whose columns are consensus module eigengenes.

setLabels

names to be used for the sets represented in multiME.

excludeGrey

logical: exclude the 'grey' eigengene from preservation measure?

greyLabel

module label corresponding to the 'grey' module. Usually this will be the character string "grey" if the labels are colors, and the number 0 if the labels are numeric.

Details

The function calculates the preservation of correlation of each eigengene with all other eigengenes (optionally except the 'grey' eigengene) in all pairs of sets.

Value

A data frame whose rows correspond to consensus module eigengenes given in the input multiME, and columns correspond to all possible set comparisons. The two sets compared in each column are indicated in the column name.

Author(s)

Peter Langfelder

References

Langfelder P, Horvath S (2007) Eigengene networks for studying the relationships between co-expression modules. BMC Systems Biology 2007, 1:54

See Also

multiSetMEs and modulecheckSets in package moduleColor for more on eigengenes and the multi-set format


WGCNA documentation built on Sept. 18, 2024, 5:08 p.m.