Calculate the correlation between modules
modcors(x, g, mset = NULL, ...)
a matrix of module correlation coefficients
a data set, with variables (e.g. genes) in rows and samples in columns
a vector of variable idenitifiers which correspond to the definition of modules
a module set
any further parameters will be passed to the cor() function
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().