Skip to contents

Calculate the correlation between modules

Usage

modcors(x, g, mset = NULL, ...)

Arguments

x

a data set, with variables (e.g. genes) in rows and samples in columns

g

a vector of variable idenitifiers which correspond to the definition of modules

mset

a module set

...

any further parameters will be passed to the cor() function

Value

a matrix of module correlation coefficients

Details

The correlation between modules are defined as correlation coefficient between the modules eigengenes. These are based on a particular gene expression data set.

This function is a simple wrapper combining eigengene() and cor().