项目作者: andymckenzie

项目描述 :
Differential Gene Correlation Analysis
高级语言: R
项目地址: git://github.com/andymckenzie/DGCA.git
创建时间: 2016-11-02T14:03:35Z
项目社区:https://github.com/andymckenzie/DGCA

开源协议:

下载


CRAN\_Status\_Badge
Downloads

DGCA

The goal of DGCA is to calculate differential correlations across conditions.

It simplifies the process of seeing whether two correlations are different without having to rely solely on parametric assumptions by leveraging non-parametric permutation tests and adjusting the resulting empirical p-values for multiple corrections using the qvalue R package.

It also has several other options including calculating the average differential correlation between groups of genes, gene ontology enrichment analyses of the results, and differential correlation network identification via integration with MEGENA.

Installation

Note: DGCA is currently not available on CRAN due to a package dependency issue. We are working to resolve this and get it back on CRAN as soon as possible.

In the meantime, you can install the development version of DGCA from GitHub:

  1. # Install remotes if you haven't already
  2. install.packages("remotes")
  3. # Install DGCA
  4. remotes::install_github("andymckenzie/DGCA")
  5. # Alternatively, if you prefer using devtools:
  6. # install.packages("devtools")
  7. # devtools::install_github("andymckenzie/DGCA")

Before installing DGCA, you need to install WGCNA if you have not yet, which requires several Bioconductor packages:

Install BiocManager:

  1. if (!require("BiocManager", quietly = TRUE))
  2. install.packages("BiocManager")

Install required Bioconductor packages:

  1. BiocManager::install(c("GO.db", "AnnotationDbi", "impute", "preprocessCore"))

Install WGCNA:

  1. install.packages("WGCNA")

After installing these dependencies, you can proceed then with installing DGCA as shown above.

Basic Example

  1. library(DGCA)
  2. data(darmanis); data(design_mat)
  3. ddcor_res = ddcorAll(inputMat = darmanis, design = design_mat, compare = c("oligodendrocyte", "neuron"))
  4. head(ddcor_res, 3)
  5. # Gene1 Gene2 oligodendrocyte_cor oligodendrocyte_pVal neuron_cor neuron_pVal
  6. # 1 CACYBP NACA -0.070261455 0.67509118 0.9567267 0
  7. # 2 CACYBP SSB -0.055290516 0.74162636 0.9578999 0
  8. # 3 NDUFB9 SSB -0.009668455 0.95405875 0.9491904 0
  9. # zScoreDiff pValDiff empPVals pValDiff_adj Classes
  10. # 1 10.256977 1.100991e-24 1.040991e-05 0.6404514 0/+
  11. # 2 10.251847 1.161031e-24 1.040991e-05 0.6404514 0/+
  12. # 3 9.515191 1.813802e-21 2.265685e-05 0.6404514 0/+

Vignettes

There are three vignettes available in order to help you learn how to use the package:

  • DGCA Basic: This will get you going quickly.
  • DGCA: This is a more extended version that explains a bit about how the package works and shows several of the options available in the package.
  • DGCA Modules: This will show you how to use the package to perform module-based and network-based analyses.

The second two vignettes can be found in inst/doc.

Applications

You can view the manuscript describing DGCA in detail as well as several applications here:

Material for associated simulations and networks created from MEGENA can be found here: