An R package to analyze and visualize differential correlations in biological networks.

Large-scale “omics” data can be used to infer underlying cellular regulatory networks in organisms, enabling us to better understand the molecular basis of disease and important traits. Correlation approaches, such as a hierarchical cluster analysis, have been widely used to analyze omics data. In addition to the changes in the mean levels of molecules in the omics data, it is important to know about the changes in the correlation relationship among molecules between 2 experimental conditions. The development of a tool to identify differential correlation patterns in omics data in an efficient and unbiased manner is therefore desirable.

We developed the DiffCorr package, a simple method for identifying pattern changes between 2 experimental conditions in correlation networks, which builds on a commonly used association measure, such as Pearson’s correlation coefficient. DiffCorr calculates correlation matrices for each dataset, identifies the first principal component-based “eigen-molecules” in the correlation networks, and tests differential correlation between the 2 groups based on Fisher’s z-test.

DiffCorr can explore differential correlations between 2 conditions in the context of post-genomics data types, namely transcriptomics and metabolomics. DiffCorr is simple to use in calculating differential correlations and is suitable for the first step towards inferring causal relationships and detecting biomarker candidates.


install.packages(c("igraph", "fdrtool"))

if (!requireNamespace("BiocManager", quietly = TRUE))
BiocManager::install(c("pcaMethods", "multtest"))



For short tutorial, please see here.

See also support page of the DiffCorr book here.


version 0.4.1 (Sep 4, 2015)


The DiffCorr package is free software; a copy of the GNU General Public License, version 3, is available at https://www.R-project.org/Licenses/GPL-3