LOL: a Python package for leakage-aware phenotype prediction and confounding diagnostics in GEO transcriptomics datasets
M. N. Muigano
Key points
From the paper's conclusion- Here, I present LOL (Latent Omics Learning), a Python package for phenotype prediction from bulk GEO RNA-seq and microarray data.
Abstract
Phenotype prediction from public gene-expression data is straightforward to implement but reliable prediction is harder. Leakage during feature selection can inflate performance estimates. Class imbalance can hide poor performance in minority classes. Confounds like tissue type, repeated sampling, and demographic differences can also create patterns that resemble phenotype-associated biology. Here, I present LOL (Latent Omics Learning), a Python package for phenotype prediction from bulk GEO RNA-seq and microarray data. LOL uses leakage-safe preprocessing, imbalance-aware evaluation, and group-aware validation where repeated samples are present. Each analysis produces two audit diagnostics. The leakage inflation index ({Delta}LII) measures the change in performance between naive and leakage-safe evaluation. PVCA-lite examines associations between the latent representation and available metadata covariates, including phenotype. I evaluated the workflow across six independent GEO cohorts. The datasets covered microarray and RNA-seq platforms, binary and multi-class phenotypes, and sample sizes ranging from 18 to 566. The analyses produced a varied set of outcomes. Across diverse GEO datasets, LOL can reveal phenotype-associated expression patterns while identifying factors distort their interpretation. These include information leakage, class imbalance, repeated sampling, tissue differences, and demographic or other metadata-associated confounding. The resulting diagnostics help distinguish robust predictions from results that require further scrutiny. LOL does not introduce a new representation-learning algorithm. Its contribution is a reproducible workflow that places validation and diagnostic checks alongside prediction. The resulting analysis can expose weaknesses in an apparently convincing result and make those limitations visible. LOL is freely available under the MIT license from https://github.com/ngangao/lol-omics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Not All Data Leakage Is Equal: A Controlled Benchmark of Evaluation Inflation in Tabular ClassificationarXiv · 2026
- Performance of protein panels is inflated across many biomarker studiesmedRxiv · 2026
- A Leakage-Controlled Benchmark of Metaheuristic Multi-Omics Feature Selection for Reconstructing TCGA Molecular Subtypes in Endometrial Cancer.Cancers · 2026
- Duplicate leakage and evaluation integrity on a public synthetic sleep-health tabular dataset: A methodological case study.Computers in biology and medicine · 2026
- Context-aware LLM extraction and controlled-vocabulary normalization of GEO transcriptomic sample metadata.Research square · 2026
- Hybrid feature-selection and diversity-guided stacking framework for interpretable ensemble learning: Application to COVID-19 mortality predictionPLoS ONE · 2026