Learn R Programming

tmod (version 0.50.13)

modcors: Module correlation

Description

Calculate the correlation between modules

Usage

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

Value

a matrix of module correlation coefficients

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

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().