modcors: Module correlation

View source: R/modstats.R

modcorsR Documentation

Module correlation

Description

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

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

Value

a matrix of module correlation coefficients


tmod documentation built on March 31, 2023, 9 p.m.