Abstract
Next-generation sequencing (NGS) to profile temporal changes in living systems is gaining more attention for deriving better insights into the underlying biological mechanisms compared to traditional static sequencing experiments. Nonetheless, the majority of existing statistical tools for analyzing NGS data lack the capability of exploiting the richer information embedded in temporal data. Several recent tools have been developed to analyze such data but they typically impose strict model assumptions, such as smoothness on gene expression dynamic changes. To capture a broader range of gene expression dynamic patterns, we develop the gamma Markov negative binomial (GMNB) model that integrates a gamma Markov chain into a negative binomial distribution model, allowing flexible temporal variation in NGS count data. Using Bayes factors, GMNB enables more powerful temporal gene differential expression analysis across different phenotypes or treatment conditions. In addition, it naturally handles the heterogeneity of sequencing depth in different samples, removing the need for ad-hoc normalization. Efficient Gibbs sampling inference of the GMNB model parameters is achieved by exploiting novel data augmentation techniques. Extensive experiments on both simulated and real-world RNA-seq data show that GMNB outperforms existing methods in both receiver operating characteristic (ROC) and precision-recall (PR) curves of differential expression analysis results.
Introduction
Biological processes, such as cell differentiation, immune responses, and disease progression, are inherently dynamic. While traditional "snapshot" sequencing studies provide a static view of gene expression, temporal next-generation sequencing (NGS) allows researchers to observe the pulse of life as it unfolds. However, the transition from static to temporal analysis introduces significant statistical challenges. Most existing tools either treat time points as independent—thereby losing the temporal dependency—or rely on Gaussian Processes that assume gene expression changes occur with perfect smoothness. These assumptions often fail to capture the abrupt "switches" common in biological systems.
To address these limitations, we present the Gamma Markov Negative Binomial (GMNB) model. This hierarchical Bayesian framework is designed to capture both smooth and abrupt biological transitions while streamlining the analysis pipeline by eliminating the need for manual data normalization.
The GMNB Framework
Modeling Temporal Dynamics
The GMNB model is built upon the Negative Binomial (NB) distribution, the gold standard for modeling the over-dispersion typically found in biological count data. The core innovation lies in the integration of a Gamma Markov chain to model the "true abundance" of a gene. In this framework, the parameters at time $t$ are linked to those at time $t-1$, allowing the model to "borrow strength" across the time series. Unlike Gaussian Process-based models (such as DyNB), the GMNB model does not force the data into a smooth curve, making it robust to sudden shifts in expression levels.
Inherent Normalization and Inference
A common hurdle in NGS analysis is the variation in sequencing depth across samples. GMNB addresses this by explicitly including a parameter for sequencing depth within the model. This allows the framework to separate experimental noise from the biological signal automatically, removing the need for biased ad-hoc normalization methods.
For parameter estimation, the model utilizes an efficient Gibbs sampling scheme. By leveraging novel data augmentation techniques, GMNB achieves closed-form updates, resulting in a significant computational advantage. In practice, GMNB reaches convergence roughly 10 times faster than competing temporal tools like DyNB.
Differential Expression via Bayes Factors
To identify genes that behave differently across conditions (e.g., treated vs. control), GMNB employs Bayes Factors. This approach compares the evidence for two competing hypotheses: one where the gene expression follows the same temporal trajectory across conditions, and another where the trajectories differ. This provides a statistically rigorous way to rank genes by their likelihood of being differentially expressed over time.
Experimental Results
Synthetic Validation
The model was evaluated using three distinct simulation scenarios: GMNB-based, DyNB-based, and Autoregressive-based data. In all tests, GMNB consistently achieved higher Area Under the Curve (AUC) scores for both ROC and Precision-Recall (PR) curves compared to standard tools like DESeq2 and temporal tools like DyNB. Notably, GMNB showed superior sensitivity in low-expression scenarios where static tools often fail to distinguish signal from noise.
Human Th17 Cell Differentiation
We applied GMNB to a real-world dataset (GSE52260) tracking human T-cell transformation into Th17 cells over 10 time points (0 to 72 hours). GMNB successfully identified key regulatory genes that other methods missed.
- Abrupt Transitions: The model identified genes like FLNA and ACTB which exhibit sudden shifts in expression. While previous models smoothed these jumps—leading to false negatives—GMNB captured the transition accurately.
- Biological Discovery: Among the top 100 ranked genes, GMNB identified 16 unique candidates not flagged by other methods. These included critical transcription factors such as EGR1 and NR4A1, both of which are known to play vital roles in cell differentiation. Other top-ranked genes, including TSP1 and LTA, were also confirmed by existing literature as key players in the Th17 pathway.
Conclusion
The GMNB model represents a significant step forward in temporal RNA-seq analysis. By combining the flexibility of a Gamma Markov chain with the robustness of the Negative Binomial distribution, it provides a powerful tool for capturing the complexities of biological dynamics. While future work may extend this framework to multi-factor experimental designs and massive single-cell datasets, GMNB currently offers a highly efficient and accurate solution for researchers seeking to understand the temporal mechanisms of life.
Summary updated