Abstract
Implements an extension of the Generalized Berk-Jones (GBJ) statistic for survival data, sGBJ. It computes the sGBJ statistic and its p-value for testing the association between a gene set and a time-to-event outcome with possible adjustment on additional covariates. Detailed method is available at Villain L, Ferte T, Thiebaut R and Hejblum BP (2021) <a href="https://doi.org/10.1101%2F2021.09.07.459329" target="_top">doi:10.1101/2021.09.07.459329</a>.
Introduction
In genomic research, Gene Set Analysis (GSA) is a standard approach to determine if functional groups of genes are collectively associated with a specific phenotype. While many GSA tools are optimized for binary or continuous outcomes, clinical research frequently involves survival data—measuring the time until an event such as death or relapse. Analyzing survival data presents unique challenges, including handling censored observations and accounting for complex intra-gene correlations within pathways.
The original Generalized Berk-Jones (GBJ) test is recognized for its power in detecting sparse signals, where only a small subset of genes in a set are active. However, its native implementation does not support survival outcomes. The sGBJ R package addresses this by extending the GBJ framework to time-to-event data, allowing for rigorous testing of genomic pathways while adjusting for clinical covariates.
Methodology
The sGBJ package adapts the GBJ statistic for use with the Cox Proportional Hazards model. The methodology involves several critical components:
- Score Statistics: The package calculates score test statistics for individual genes within a set based on a survival model.
- Covariate Adjustment: It allows for the inclusion of nuisance variables (e.g., age, sex) in the null model to ensure that the detected genetic signal is independent of known clinical factors.
- Epsilon Matrix Estimation: To account for gene-gene correlations,
sGBJemploys a permutation-based approach to estimate the correlation structure of the test statistics. This step is vital for maintaining accurate p-values. - Robustness: Internal functions like
.survival_scoresare designed to handle convergence issues by automatically filtering genes that cause model failures.
Implementation and Results
The primary interface for the package is the sGBJ() function. This function integrates the survival model outputs with the GBJ calculation pipeline to produce two main results: the sGBJ statistic and a corresponding p-value.
The package includes built-in datasets such as ls_test_results and provides examples using simulated survival data to demonstrate proper data formatting. Users can test multiple genes against a Surv object while adjusting for covariates, as shown in the package documentation.
Discussion
The sGBJ test maintains the strengths of the original GBJ, particularly its sensitivity to sparse signals. By defaulting to 300 permutations for epsilon matrix estimation, the package balances computational feasibility with statistical precision.
However, users should be aware of the computational demands when scaling to thousands of gene sets. Furthermore, the test relies on the assumptions of the Cox proportional hazards model; violations of these assumptions may impact the test's power. Future work may explore alternative survival models or further optimizations for high-throughput data.
Summary updated