- Introduced by
- Bar-Joseph and colleagues (temporal gene expression); extended by Cheng, Bhatt et al. for pathway-level time-series inference
- Year
- 2005–2014
- Type
- Functional enrichment analysis with temporal modeling
- Family
- Bioinformatics / omics
What does it do?
Time-series pathway enrichment analysis tests whether biological pathways show coordinated gene expression changes across ordered time points.
Rather than comparing each time point against a reference, it models the trajectory of each pathway's member genes over time and asks whether that trajectory differs from background expectation. The aim is to detect programs of genes that are activated, suppressed, or transiently changed, not only individual genes.
The intuition behind the method
Consider a gene expression time course sampled after a treatment or during development. A single-contrast enrichment test, run on one comparison, can miss a program that rises and falls between sampling points. Time-series pathway enrichment scores each pathway by the shape of its members' expression over time, so a coordinated early wave, a delayed response, or an oscillation can register at the pathway level even when individual genes are weak. How well this works depends on how many time points are sampled and how evenly they are spaced.
History
Pathway-level enrichment developed out of gene-level functional annotation, and gene set enrichment analysis (GSEA) is one widely used pathway-level framework. Time-course expression experiments, such as developmental series and treatment-response series, are the usual setting for temporal extensions of these tests. Software such as maSigPro fits regression models to time-course data to identify genes with time-dependent expression, and its gene lists are commonly carried into pathway analysis.
When to use it
Use time-series pathway enrichment analysis when you have RNA-seq or microarray data collected at three or more ordered time points and your main question concerns how biological programs are activated or suppressed over time, for example during development, disease progression, treatment response, or circadian cycles. The method is most useful when you expect transient, delayed, or oscillatory pathway responses that a single-comparison enrichment test would miss. Do not use it when you have only two time points, since a standard differential expression plus enrichment analysis is then sufficient. Also avoid it when replication is absent at most time points, when the time points are not ordered or do not represent a biological continuum, or when replicate numbers are too small for reliable variance estimates at each time point.
Limitations and considerations
- Requires at least three ordered time points with replication; studies with only two conditions are not suitable.
- Power falls when there are few biological replicates per time point, and highly variable data may yield no significant pathways.
- Pathway databases are incomplete and gene annotations are imperfect; very small gene sets give unstable scores (see the size filters under pitfalls).
- Temporal models (splines, HMMs) carry smoothing assumptions that may not match the true biology, risking over- or under-smoothing of expression dynamics.
- Results depend heavily on normalization and batch-correction quality, since confounders aligned with time produce spurious pathway signals.
- The analysis assumes that biological replicates are independent units (technical replicates of one sample should not be counted as separate replicates), that the chosen temporal model is smooth enough to describe trajectories without absorbing real short-lived changes, that time points are ordered and measured on a comparable scale across samples, and that batch structure is not confounded with time.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Captures dynamic pathway biology, detecting transient, delayed, and oscillatory activations that single-contrast enrichment does not show.
- Tests pathways rather than every gene, so the number of hypotheses is smaller than in gene-level time-series testing, although FDR correction across pathways is still required.
- Compatible with established pathway databases (KEGG, Reactome, GO), so results can be read in known biological context.
- Temporal clustering of pathway activity profiles can suggest the relative timing of pathway activation within the sampled window, for example early innate immune responses followed by later adaptive responses. The inferred order depends on sampling density and is correlational, so causal ordering needs follow-up experiments.
- Applicable to bulk RNA-seq and, with adaptation, to pseudo-temporal trajectories from single-cell data (see the FAQ).
Applications
- Mapping the activation timing of immune signaling, metabolic reprogramming, and tissue remodeling pathways during infection or vaccination time courses.
- Characterizing dynamic pathway programs during embryonic development or cell differentiation using time-course RNA-seq.
- Identifying early, peak, and late pathway responses to pharmacological treatment in drug mechanism-of-action studies.
- Detecting circadian or ultradian oscillations in metabolic and signaling pathways using densely sampled time-course experiments.
- Describing the relative timing of pathway activation in cancer progression using longitudinal patient transcriptome data, within the sampled window.
- Profiling dynamic pathway activity along pseudo-time trajectories inferred from single-cell RNA-seq differentiation experiments.
How it works
How it works
The study must include at least three ordered time points with biological replicates at each point. Experimental design decisions (sampling frequency, total duration, and replication depth) must be made before sequencing, because sparse or irregularly spaced time points severely limit the temporal models that can be applied downstream.
Raw count data are processed through standard RNA-seq quality control and normalization (e.g., DESeq2 variance-stabilizing transformation or TMM normalization), followed by removal of low-count genes. Batch effects correlated with time must be corrected at this stage, as they can masquerade as real temporal signals.
A temporal model is fitted to each gene's expression profile across time points. Common approaches include cubic splines (e.g., in maSigPro), hidden Markov models, or Gaussian process regression. The goal is to represent each gene's trajectory as a smooth function of time, enabling comparison and clustering of expression dynamics rather than relying on pairwise contrasts.
Each pathway or gene set (from KEGG, Reactome, or GO) is scored by aggregating the temporal expression trajectories of its member genes. Scoring strategies include averaging normalized fitted values, applying PCA to pathway members to extract a leading eigengene trajectory, or computing activity scores per time point for subsequent enrichment testing.
Statistical enrichment tests determine whether the temporal trajectory of a pathway's activity differs from background expectation. For a standard bulk design, a practical default is a linear-model F-test on per-sample pathway activity scores, with the replicate structure modelled so that repeated sampling of the same subjects is accounted for. Permutation-based GSEA adaptations for time courses and topological network propagation tests are alternatives; each rests on different assumptions about the data and the background, so the chosen test should be stated alongside the results. Multiple testing correction (Benjamini-Hochberg FDR) is applied across all pathways.
Significantly enriched pathways are visualized as temporal activity curves, heatmaps across time, or network diagrams showing pathway interconnections. Temporal clustering groups pathways with similar activation kinetics (e.g., early-response vs. late-response programs), which can guide mechanistic interpretation of the biological process under study.
Common pitfalls
- Treating each time point as independent and running separate enrichment tests, then comparing results narratively. This ignores the statistical dependency between time points and inflates false discovery rates.
- Ignoring pathway gene-set size filters. Very small and very large gene sets both produce unreliable enrichment scores. Commonly used defaults exclude sets with fewer than 10 or more than 500 members, but these cut-offs vary between tools and databases, so apply a filter and report the values used.
- Failing to account for autocorrelation in the temporal model. Standard linear models that ignore the serial correlation of repeated measurements within a time course produce anti-conservative p-values.
- Confusing statistical enrichment significance with biological effect size. A pathway can reach FDR < 0.05 with a trivially small activity change; always inspect the magnitude and shape of the trajectory.
- Mixing human and organism pathway annotations without species-appropriate gene ID mapping. ID mismatches silently reduce pathway coverage and bias enrichment results.
Frequently asked questions
How is this different from running standard pathway enrichment at each time point separately?
Running enrichment independently at each time point treats the observations as unrelated, inflates the multiple-testing burden across time points, and cannot detect pathways that are only transiently active or that follow smooth dynamic trajectories. Time-series pathway enrichment models the full trajectory jointly, borrowing statistical strength across time points and detecting patterns that vanish in any single contrast.
What is the minimum number of time points and replicates needed?
Three ordered time points is the minimum used here. With only two, a standard differential expression plus enrichment analysis is more appropriate. Replicate number per time point should be as high as the design allows, because few replicates make variance estimates unreliable and can inflate false-positive pathway calls.
Can this method be applied to single-cell RNA-seq data?
Yes, with adaptation. For true time-course scRNA-seq experiments with multiple sampled time points, standard bulk-adapted pipelines can be applied to pseudo-bulk aggregates. Alternatively, pseudo-time trajectory analysis infers a continuous ordering from cell states, and pathway enrichment can be applied along that pseudo-temporal axis using tools such as tradeSeq or STREAM.
Which software tools implement time-series pathway enrichment?
maSigPro (Bioconductor) fits regression models, including spline terms, to time-course expression data to identify genes with time-dependent profiles; its gene lists can then be tested for pathway enrichment. ImpulseDE2 and splineTimeR fit specific temporal shapes. For GSEA-style testing of time-course contrasts, limma with duplicateCorrelation (which accounts for repeated measures on the same subjects) produces moderated statistics per gene; these can be ranked and tested with fgsea. Choose the tool to match the temporal design, and report the version and settings used.
How should I handle missing time points or unequal spacing?
Spline-based and Gaussian process models can accommodate unequally spaced or partially missing time points, but uncertainty increases as gaps grow. Hidden Markov model approaches require regular spacing unless modified. When many time points are missing for a sample, impute or exclude that sample and run a sensitivity analysis. There is no fixed cut-off for how many missing points are too many.
Related methods
Sources
Ernst, J., Nau, G. J., & Bar-Joseph, Z. (2005). Clustering short time series gene expression data. Bioinformatics, 21(Suppl 1), i159–i168.
Open publication referenceCheng, J., Tegge, A. N., & Bhatt, D. L. (2014). A method for identifying and interpreting time-series pathway activity changes from gene expression data. Bioinformatics, 30(21), 3147–3154.
Open publication reference