Hubbry Logo
Weighted correlation network analysisWeighted correlation network analysisMain
Open search
Weighted correlation network analysis
Community hub
Weighted correlation network analysis
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Weighted correlation network analysis
Weighted correlation network analysis
from Wikipedia

Weighted correlation network analysis, also known as weighted gene co-expression network analysis (WGCNA), is a widely used data mining method especially for studying biological networks based on pairwise correlations between variables. While it can be applied to most high-dimensional data sets, it has been most widely used in genomic applications. It allows one to define modules (clusters), intramodular hubs, and network nodes with regard to module membership, to study the relationships between co-expression modules, and to compare the network topology of different networks (differential network analysis). WGCNA can be used as a data reduction technique (related to oblique factor analysis), as a clustering method (fuzzy clustering), as a feature selection method (e.g. as gene screening method), as a framework for integrating complementary (genomic) data (based on weighted correlations between quantitative variables), and as a data exploratory technique.[1] Although WGCNA incorporates traditional data exploratory techniques, its intuitive network language and analysis framework transcend any standard analysis technique. Since it uses network methodology and is well suited for integrating complementary genomic data sets, it can be interpreted as systems biologic or systems genetic data analysis method. By selecting intramodular hubs in consensus modules, WGCNA also gives rise to network based meta analysis techniques.[2]

History

[edit]

The WGCNA method was developed by Steve Horvath, a professor of human genetics at the David Geffen School of Medicine at UCLA and of biostatistics at the UCLA Fielding School of Public Health and his colleagues at UCLA, and (former) lab members (in particular Peter Langfelder, Bin Zhang, Jun Dong). Much of the work arose from collaborations with applied researchers. In particular, weighted correlation networks were developed in joint discussions with cancer researchers Paul Mischel, Stanley F. Nelson, and neuroscientists Daniel H. Geschwind, Michael C. Oldham, according to the acknowledgement section in.[1]

Comparison between weighted and unweighted correlation networks

[edit]

A weighted correlation network can be interpreted as special case of a weighted network, dependency network or correlation network. Weighted correlation network analysis can be attractive for the following reasons:

  • The network construction (based on soft thresholding the correlation coefficient) preserves the continuous nature of the underlying correlation information. For example, weighted correlation networks that are constructed on the basis of correlations between numeric variables do not require the choice of a hard threshold. Dichotomizing information and (hard)-thresholding may lead to information loss.[3]
  • The network construction gives highly robust results with respect to different choices of the soft threshold.[3] In contrast, results based on unweighted networks, constructed by thresholding a pairwise association measure, often strongly depend on the threshold.
  • Weighted correlation networks facilitate a geometric interpretation based on the angular interpretation of the correlation, chapter 6 in.[4]
  • Resulting network statistics can be used to enhance standard data-mining methods such as cluster analysis since (dis)-similarity measures can often be transformed into weighted networks;[5] see chapter 6 in.[4]
  • WGCNA provides powerful module preservation statistics which can be used to quantify similarity to another condition. Also module preservation statistics allow one to study differences between the modular structure of networks.[6]
  • Weighted networks and correlation networks can often be approximated by "factorizable" networks.[4][7] Such approximations are often difficult to achieve for sparse, unweighted networks. Therefore, weighted (correlation) networks allow for a parsimonious parametrization (in terms of modules and module membership) (chapters 2, 6 in [1]) and.[8]

Method

[edit]

First, one defines a gene co-expression similarity measure which is used to define the network. We denote the gene co-expression similarity measure of a pair of genes i and j by . Many co-expression studies use the absolute value of the correlation as an unsigned co-expression similarity measure,

where gene expression profiles and consist of the expression of genes i and j across multiple samples. However, using the absolute value of the correlation may obfuscate biologically relevant information, since no distinction is made between gene repression and activation. In contrast, in signed networks the similarity between genes reflects the sign of the correlation of their expression profiles. Varied transformation (or scaling) approaches can be considered if a signed co-expression measure between gene expression profiles and is needed. For example, one can (linearly) scale the correlations to be within the range by performing a simple transformation of the correlations as follows:

As the unsigned measure , the signed similarity takes on a value between 0 and 1. Note that the unsigned similarity between two oppositely expressed genes () equals 1 while it equals 0 for the signed similarity. Similarly, while the unsigned co-expression measure of two genes with zero correlation remains zero, the signed similarity equals 0.5.

Next, an adjacency matrix (network), , is used to quantify how strongly genes are connected to one another. is defined by thresholding the co-expression similarity matrix . 'Hard' thresholding (dichotomizing) the similarity measure results in an unweighted gene co-expression network. Specifically an unweighted network adjacency is defined to be 1 if and 0 otherwise. Because hard thresholding encodes gene connections in a binary fashion, it can be sensitive to the choice of the threshold and result in the loss of co-expression information.[3] The continuous nature of the co-expression information can be preserved by employing soft thresholding, which results in a weighted network. Specifically, WGCNA uses the following power function assess their connection strength:

,

where the power is the soft thresholding parameter. The default values and are used for unsigned and signed networks, respectively. Alternatively, can be chosen using the scale-free topology criterion which amounts to choosing the smallest value of such that approximate scale free topology is reached.[3]

Since , the weighted network adjacency is linearly related to the co-expression similarity on a logarithmic scale. Note that a high power transforms high similarities into high adjacencies, while pushing low similarities towards 0. Since this soft-thresholding procedure applied to a pairwise correlation matrix leads to weighted adjacency matrix, the ensuing analysis is referred to as weighted gene co-expression network analysis.

A major step in the module centric analysis is to cluster genes into network modules using a network proximity measure. Roughly speaking, a pair of genes has a high proximity if it is closely interconnected. By convention, the maximal proximity between two genes is 1 and the minimum proximity is 0. Typically, WGCNA uses the topological overlap measure (TOM) as proximity.[9][10] which can also be defined for weighted networks.[3] The TOM combines the adjacency of two genes and the connection strengths these two genes share with other "third party" genes. The TOM is a highly robust measure of network interconnectedness (proximity). This proximity is used as input of average linkage hierarchical clustering. Modules are defined as branches of the resulting cluster tree using the dynamic branch cutting approach.[11] Next the genes inside a given module are summarized with the module eigengene, which can be considered as the best summary of the standardized module expression data.[4] The module eigengene of a given module is defined as the first principal component of the standardized expression profiles. Eigengenes define robust biomarkers,[12] and can be used as features in complex machine learning models such as Bayesian networks.[13] To find modules that relate to a clinical trait of interest, module eigengenes are correlated with the clinical trait of interest, which gives rise to an eigengene significance measure. Eigengenes can be used as features in more complex predictive models including decision trees and Bayesian networks.[12] One can also construct co-expression networks between module eigengenes (eigengene networks), i.e. networks whose nodes are modules.[14] To identify intramodular hub genes inside a given module, one can use two types of connectivity measures. The first, referred to as , is defined based on correlating each gene with the respective module eigengene. The second, referred to as kIN, is defined as a sum of adjacencies with respect to the module genes. In practice, these two measures are equivalent.[4] To test whether a module is preserved in another data set, one can use various network statistics, e.g. .[6]

Applications

[edit]

WGCNA has been widely used for analyzing gene expression data (i.e. transcriptional data), e.g. to find intramodular hub genes.[2][15] Such as, WGCNA study reveals novel transcription factors are associated with Bisphenol A (BPA) dose-response.[16]

It is often used as data reduction step in systems genetic applications where modules are represented by "module eigengenes" e.g.[17][18] Module eigengenes can be used to correlate modules with clinical traits. Eigengene networks are coexpression networks between module eigengenes (i.e. networks whose nodes are modules) . WGCNA is widely used in neuroscientific applications, e.g.[19][20] and for analyzing genomic data including microarray data,[21] single cell RNA-Seq data[22][23] DNA methylation data,[24] miRNA data, peptide counts[25] and microbiota data (16S rRNA gene sequencing).[26] Other applications include brain imaging data, e.g. functional MRI data.[27]

R software package

[edit]

The WGCNA R software package[28] provides functions for carrying out all aspects of weighted network analysis (module construction, hub gene selection, module preservation statistics, differential network analysis, network statistics). The WGCNA package is available from the Comprehensive R Archive Network (CRAN), the standard repository for R add-on packages.

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Weighted Gene Co-expression Network Analysis (WGCNA) is a method that constructs weighted correlation networks from high-dimensional data, such as profiles, to identify clusters (modules) of highly interconnected variables and relate them to external traits or clinical outcomes. Introduced in 2005, WGCNA employs a soft-thresholding approach to transform pairwise measures into continuous connection strengths, ensuring the resulting network approximates a scale-free , which is characteristic of many biological systems. This framework generalizes traditional unweighted networks by avoiding binary connections, instead capturing nuanced relationships that enhance the detection of biologically meaningful modules. The core pipeline of WGCNA begins with the computation of a correlation matrix from expression data across samples, followed by the application of a power-raising function—typically aij=cor(xi,xj)βa_{ij} = |cor(x_i, x_j)|^\beta, where β\beta is a soft-thresholding parameter chosen to achieve scale-free fit (e.g., R20.8R^2 \geq 0.8 for the degree distribution)—to form an adjacency matrix. Modules are then detected using hierarchical clustering on a topological overlap matrix (TOM), which measures the similarity of connection profiles between variables, often refined by dynamic tree-cutting algorithms to delineate coherent clusters. Each module is summarized by its eigengene, the first principal component of the module's expression profiles, enabling correlation analyses with traits and identification of intramodular hub genes that drive module behavior. WGCNA's advantages include reducing the dimensionality of large datasets by focusing on modules rather than individual genes, mitigating multiple-testing burdens, and providing fuzzy measures of module membership (e.g., kMEk_{ME}, the correlation of a gene's profile to its module eigengene) for genes with partial affiliations. Unlike hard-thresholding in unweighted networks, the weighted approach preserves weak but potentially informative connections, leading to more robust scale-free properties and higher clustering coefficients observed in real . An open-source implements these steps efficiently, supporting block-wise processing for datasets with thousands of variables and integrating with visualization tools like Cytoscape for network exploration. Originally developed for microarray gene expression analysis, WGCNA has been applied to diverse fields, including cancer genomics to uncover prognostic modules, mouse genetics for trait-associated networks, and even non-genetic data like brain imaging to model connectivity patterns. Key extensions include signed networks to distinguish positive and negative correlations, and adaptations for single-cell RNA-seq data to handle sparsity. By prioritizing highly connected hubs and module-trait relationships, WGCNA facilitates the discovery of biomarkers, therapeutic targets, and systems-level insights into complex diseases.

Overview

Definition and Principles

Weighted correlation network analysis (WGCNA) is a method that constructs weighted networks from high-dimensional data, such as profiles, by modeling pairwise correlations between variables (e.g., genes) to identify patterns of co-expression and functional modules. Unlike traditional unweighted networks that use hard thresholding to create binary connections, WGCNA employs soft thresholding to assign continuous connection weights ranging from 0 to 1, preserving the full spectrum of correlation strengths and enabling a more nuanced representation of relationships. This approach treats the network as a graph where nodes represent variables and edges represent weighted correlations, facilitating the detection of biologically relevant clusters. A core principle of WGCNA is the approximation of scale-free topology in the resulting network, which mimics the structure observed in many biological systems where a small number of highly connected hubs (high-degree nodes) interact with numerous low-degree nodes, promoting robustness and efficient . The scale-free fit is quantified by the coefficient of determination R2R^2 between the observed connectivity distribution and a power-law model, with the soft thresholding parameter β\beta selected to achieve R2>0.8R^2 > 0.8 (often targeting R20.9R^2 \geq 0.9) for optimal biological relevance. By emphasizing strong correlations while retaining weaker ones through continuous weighting, WGCNA enhances the robustness of module detection, reducing noise sensitivity and improving the identification of coherent functional groups. The basic of WGCNA begins with a of expression values across samples, followed by computation of pairwise correlations to form a similarity matrix. Correlations are then transformed into an using soft thresholding, after which modules are detected through of the network's topological structure. This process prioritizes scale-free properties to ensure the network captures essential without overemphasizing outliers. Mathematically, WGCNA relies on the ρij\rho_{ij} between variables ii and jj, which measures their co-expression similarity. The adjacency is defined as aij=ρijβ,a_{ij} = |\rho_{ij}|^\beta, where β1\beta \geq 1 is the soft thresholding power that amplifies strong correlations and diminishes weak ones while maintaining continuity; β\beta is empirically chosen to fit the scale-free topology criterion. This formulation allows the network to approximate scale-free properties, with higher β\beta values yielding sparser, more biologically interpretable connections.

Key Advantages

One key advantage of weighted correlation network analysis (WGCNA) lies in its robustness to inherent in high-dimensional , such as profiles. By employing soft thresholding through the β, which raises similarities to a power (a_ij = |r_ij|^β where r_ij is the Pearson and β ≥ 1), WGCNA down-weights weak or spurious connections while preserving the continuous nature of co-expression relationships. This approach reduces false positives compared to binary thresholding methods, as it avoids abrupt cutoffs that can amplify in datasets with thousands of variables. WGCNA also ensures biological realism by enforcing a scale-free in the constructed network, mimicking the power-law degree distributions observed in natural systems like protein interaction networks. The soft threshold β is selected such that the network's degree distribution fits a scale-free model, assessed via the linear relationship in a log-log plot of connectivity k versus the probability P(k) (i.e., log(k) vs. log(P(k)) with a high R² value, typically >0.8). This criterion guides parameter choice and enhances the network's stability and interpretability, distinguishing it from arbitrary thresholding in unweighted approaches. The module-based framework of WGCNA further streamlines analysis by identifying clusters of co-expressed genes as functional units, often representing pathways or biological processes. These modules are detected using topological overlap measures on the weighted , allowing from thousands of individual genes to a handful of module eigengenes—the first principal components capturing module expression patterns. This summarization facilitates downstream tasks like visualization and testing without losing key network structure. Integration with external traits represents another strength, enabling the of module eigengenes with phenotypic data, such as disease status or clinical outcomes. This eigengene-trait identifies modules associated with specific , prioritizing hubs or entire clusters for further investigation, and supports screening for biomarkers. Empirical studies validate these advantages, demonstrating that WGCNA detects more biologically coherent modules than hard-thresholding methods, with improved functional enrichment in terms across microarray datasets from cancer and . For instance, weighted networks yield higher module cohesion and better preservation of co-expression signals, leading to enhanced identification of trait-related pathways compared to unweighted alternatives.

Background

Historical Development

Weighted correlation network analysis (WGCNA) originated in the mid-2000s at the University of California, Los Angeles (UCLA), developed by Steve Horvath, a professor of human genetics and biostatistics, along with colleagues including Bin Zhang and Peter Langfelder. The foundational framework was introduced in 2005 by Zhang and Horvath, who proposed a general method for constructing weighted gene co-expression networks to model complex relationships in high-dimensional biological data, emphasizing scale-free topology criteria to mimic real-world biological networks. This work built on earlier efforts in systems biology to move beyond binary correlations, allowing for continuous connection strengths that better capture subtle co-expression patterns. An early application appeared in 2006, where Oldham et al. applied WGCNA to compare gene co-expression modules across human and chimpanzee brain tissues, demonstrating its utility in evolutionary analyses. By 2007, the method was further refined and applied to quantitative genetics, as in the study by Ghazalpour et al. on mouse weight traits, integrating WGCNA with linkage analysis to identify trait-associated modules. A pivotal milestone came in 2008 with the release of the WGCNA R package by Langfelder and Horvath, published in BMC Bioinformatics, which formalized the approach for gene expression data analysis and incorporated the topological overlap measure to enhance module detection robustness. This package, hosted on Bioconductor, facilitated widespread adoption by providing accessible tools for network construction, module identification, and eigengene analysis, with Horvath's emphasis on scale-free properties ensuring networks reflected biological realism. Community-driven expansions through Bioconductor followed, including refinements to the topological overlap in subsequent updates, such as support for signed networks and intramodular connectivity introduced in the initial package release. Post-2015, WGCNA evolved to support multi-omics integration; for instance, methods like multi-WGCNA in 2021 enabled dimensionality reduction across RNA-seq, proteomics, and metabolomics datasets to uncover shared modules. In the 2020s, adaptations addressed emerging data types, with initial focus on bulk shifting toward single-cell sequencing (scRNA-seq) and cross-species comparisons. Tools like hdWGCNA, developed and published in 2023, extended WGCNA for high-dimensional single-cell data, identifying cell-type-specific modules in complex tissues such as the . Recent advancements include Python implementations to overcome R's scalability limits for large datasets; the pyWGCNA package, released in 2023 and published in Bioinformatics, offers faster computation for module detection using optimized algorithms. In 2024, the CWGCNA was introduced to perform within the WGCNA framework. These developments underscore WGCNA's growth from a gene-centric tool to a versatile framework in .

Comparison to Unweighted Networks

Traditional unweighted correlation networks construct a binary adjacency matrix where the connection strength aija_{ij} between genes ii and jj is set to 1 if the absolute ρij|\rho_{ij}| exceeds a predefined threshold τ\tau, and 0 otherwise. This approach results in discrete, all-or-nothing connections that can produce cliquey structures, where modules appear as tightly knit groups isolated from the rest of , particularly when the threshold is high. Additionally, unweighted networks are highly sensitive to the choice of τ\tau, as varying this parameter drastically alters and connectivity patterns. Key limitations of unweighted networks include the loss of information from weak but consistent correlations, which may represent biologically relevant interactions in noisy genomic data. They often fail to produce scale-free topologies characteristic of real biological networks, instead exhibiting degree distributions with exponential tails rather than power-law decay. In noisy datasets, unweighted methods can overestimate hub gene connectivity by including spurious strong correlations while discarding subtler ones. In contrast, weighted correlation networks address these issues by defining a continuous adjacency aij=ρijβa_{ij} = |\rho_{ij}|^\beta (with β1\beta \geq 1), which preserves the hierarchical structure of s and incorporates weak connections proportionally to their strength. This soft thresholding enhances module preservation across datasets, as measured by the topological overlap matrix (TOM) dissimilarity, which better captures shared network neighborhoods for clustering. Quantitatively, unweighted networks typically show degree distributions following an exponential form, with fewer hubs and less robustness to perturbations, whereas weighted networks achieve power-law degree distributions with exponents γ13\gamma \approx 1-3, aligning more closely with scale-free properties observed in biological systems. Empirical studies demonstrate that weighted networks identify more biologically meaningful modules; for instance, in mouse liver gene expression data, weighted approaches detected modules with significantly enriched (GO) terms, such as biosynthesis (p = 2 × 10^{-24}), outperforming unweighted methods in robustness and functional coherence.

Methodology

Adjacency Matrix Construction

The construction of the adjacency matrix represents the foundational step in weighted correlation network analysis (WGCNA), transforming pairwise correlations between network nodes into connection weights that emphasize biologically relevant relationships. The input data typically consist of an expression matrix XX, where rows correspond to nn nodes (e.g., genes) and columns to mm samples (e.g., tissue measurements), with entries representing expression levels. Pairwise correlations ρij\rho_{ij} are computed between the profiles of nodes ii and jj, most commonly using the Pearson correlation coefficient ρij=l=1m(xilxˉi)(xjlxˉj)l=1m(xilxˉi)2l=1m(xjlxˉj)2\rho_{ij} = \frac{\sum_{l=1}^m (x_{il} - \bar{x}_i)(x_{jl} - \bar{x}_j)}{\sqrt{\sum_{l=1}^m (x_{il} - \bar{x}_i)^2 \sum_{l=1}^m (x_{jl} - \bar{x}_j)^2}}
Add your contribution
Related Hubs
User Avatar
No comments yet.