Use of a Graph Neural Network to the Weighted Gene Co-expression Network Analysis of Korean Native Cattle

Hyo-Jun Lee, Yoonji Chung, Ki Yong Chung, Young‐Kuk Kim, Jun Heon Lee, Yeong Jun Koh, Seung Hwan Lee

Abstract

In the general framework of the weighted gene co-expression network analysis (WGCNA), a hierarchical clustering algorithm is commonly used for module definition. However, hierarchical clustering depends strongly on the topological overlap measure (TOM), potentially assigning genes with similar expression patterns but low topological overlap to different modules. We propose a novel gene module clustering network (gmcNet) that simultaneously addresses single-level expression and TOM. gmcNet includes a “co-expression pattern recognizer" (CEPR) and a “module classifier." The CEPR incorporates expression features of single genes into the topological features of co-expressed ones. Validated using 4,976 genes from 20 native Korean cattle, gmcNet achieved superior performance in terms of modularity (0.261) and differentially expressed (DEM) signal (27.739) compared to traditional methods. Furthermore, gmcNet identified biological functionalities related to carcass weight, backfat thickness, intramuscular fat, and beef tenderness.

Introduction

Weighted Gene Co-expression Network Analysis (WGCNA) is a standard bioinformatics tool for identifying "modules"—clusters of genes that co-function to influence complex traits. Traditionally, WGCNA relies on Hierarchical Clustering (HC) based on a Topological Overlap Measure (TOM). However, HC suffers from information loss when raw expression data is compressed into a topological matrix and rigidity due to its "greedy" nature, where early assignment decisions cannot be reversed. This often leads to biologically "noisy" modules that fail to capture true functional relationships.

Methods and Materials

The proposed gmcNet framework treats gene clustering as an unsupervised learning task on a graph. It consists of two primary components:

  1. Co-expression Pattern Recognizer (CEPR): Utilizing a message-passing mechanism, the CEPR aggregates a gene’s individual expression features with those of its neighbors, using the TOM matrix as adjacency weights. This allows the model to learn from both individual expression levels and the strength of gene-gene connections.
  2. Module Classifier: A multi-layer perceptron (MLP) that maps CEPR-embedded features to module assignment probabilities.

Training is performed using the MinCutPool loss function, which optimizes for strong intra-module connectivity and distinct module separation. The model was evaluated using RNA-seq data from the longissimus dorsi muscle of 20 Korean native cattle (Hanwoo), focusing on 4,976 filtered genes.

PCA visualization of gene features and clustering results, highlighting the robust separation achieved by the CEPR embedding compared to raw expression or TOM alone.

Results and Discussion

A key finding of this study is that feature fusion is essential for robust module identification. As shown in the PCA analysis, neither raw expression nor network topology alone provides the clear separation achieved by the CEPR embedding. This suggests that the GNN successfully "denoises" the biological signal by integrating multiple data levels.

Quantitatively, gmcNet outperformed traditional methods across key metrics. It achieved a modularity score ($Q$) of 0.261, significantly higher than HC (0.219) or K-means (0.138). Additionally, the "DEM signal," which measures the correlation between modules and external traits, reached 27.739 for gmcNet, compared to 18.618 for traditional HC.

Comparison of DEM signal and modularity (Q) across different cluster numbers (k), demonstrating gmcNet's superior performance in capturing biological signals and structural modularity.

The model identified 11 significant module-trait interactions. Notably, it linked immune system pathways to beef tenderness (WBSF), a novel finding in Hanwoo cattle. Module K1 was enriched for metabolic processes related to carcass weight, while K7 emerged as a critical module for tenderness.

Conclusion

gmcNet provides a powerful alternative to hierarchical clustering in WGCNA by leveraging the strengths of Graph Neural Networks. While the current implementation requires a pre-specified number of clusters ($k$) and faces scaling challenges for full transcriptomes, its ability to integrate raw expression with topology leads to more biologically meaningful insights. Future work will focus on automated $k$ determination and improved noise handling.

Summary updated

Abstract

Abstract In the general framework of the weighted gene co-expression network analysis (WGCNA), a hierarchical clustering algorithm is commonly used to module definition. However, hierarchical clustering depends strongly on the topological overlap measure. In other words, this algorithm may assign two genes with low topological overlap to different modules even though their expression patterns are similar. Here, a novel gene module clustering algorithm for WGCNA is proposed. We develop a gene module clustering network (gmcNet), which simultaneously addresses single-level expression and topological overlap measure. The proposed gmcNet includes a “co-expression pattern recognizer" (CEPR) and “module classifier". The CEPR incorporates expression features of single genes into the topological features of co-expressed ones. Given this CEPR-embedded feature, the module classifier computes module assignment probabilities. We validated gmcNet performance using 4,976 genes from 20 native Korean cattle. We observed that the CEPR generates more robust features than single-level expression or topological overlap measure. Given the CEPR-embedded feature, gmcNet achieved the best performance in terms of modularity (0.261) and the differentially expressed signal (27.739) compared with other clustering methods tested. Furthermore, gmcNet detected some interesting biological functionalities for carcass weight, backfat thickness, intramuscular fat, and beef tenderness of Korean native cattle. Therefore, gmcNet is a useful framework for WGCNA module clustering.
BibTeX
@inproceedings{lee2022use,
  author = {Hyo-Jun Lee and Yoonji Chung and Ki Yong Chung and Young‐Kuk Kim and Jun Heon Lee and Yeong Jun Koh and Seung Hwan Lee},
  title = {{Use of a Graph Neural Network to the Weighted Gene Co-expression Network Analysis of Korean Native Cattle}},
  booktitle = {Scientific},
  year = {2022},
  doi = {10.1038/s41598-022-13796-9},
}
Figure