Learn R Programming

⚠️There's a newer version (0.4.4) of this package.Take me there.

DiffCorr

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.

Installation

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

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

library(devtools)
install_github("afukushima/DiffCorr")

Documents

For short tutorial, please see here.

See also support page of the DiffCorr book here.

Updates

version 0.4.1 (Sep 4, 2015)

  • A metabolite data set from Arabidopsis leaves and roots by GC-TOF/MS

License

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

Copy Link

Version

Install

install.packages('DiffCorr')

Monthly Downloads

507

Version

0.4.3

License

GPL (> 3)

Last Published

August 25th, 2023

Functions in DiffCorr (0.4.3)

DiffCorr-package

Differential correlations in omics datasets
cluster.molecule

Hierarchical clustering of molecules
cor2.test

Correlation Test
comp.2.cc.fdr

Export differential correlations between two conditions
get.eigen.molecule

Get eigen molecule
cor.dist

Additional distance functions correlation distance (1-r)
compcorr

Compare two correlation coefficients
generate_g

Generating graph from data matrix
get.min.max

Get minimum and maximum
uncent.cor2dist

Additional distance functions correlation distance (uncentered)
scalingMethods

scalingMethods
write.modules

Writing modules into a text file
plotDiffCorrGroup

Plot DiffCorr group
get.lfdr

Getting local false discovery rate (lfdr)
uncent.cordist

Calculating all pairwise distances using correlation distance
get.eigen.molecule.graph

Getting graph from eigengene module list
plotClusterMolecules

Plot cluster molecules
AraMetLeaves

A metabolite data set from Arabidopsis leaves by GC-TOF/MS
AraMetRoots

A metabolite data set from Arabidopsis roots by GC-TOF/MS