Explainable machine learning identifies immune-inflammatory biomarkers and therapeutic candidates in drug-resistant epilepsy

Drug-resistant epilepsy (DRE) affects one-third of total epileptic patients and remains a major clinical challenge. Growing evidence implicates neuroinflammation as a key contributor to epileptogenesis and therapeutic resistance, but comprehensive, reproducible transcriptomic biomarkers are lacking. This study aimed to identify immune-inflammatory gene signatures associated with DRE using integrated transcriptomic profiling and machine-learning classifiers coupled with SHAP-based post-hoc explainability. Herein, this study curated and integrated 197 publicly available RNA-sequencing samples from cortical and hippocampal tissues across three Gene Expression Omnibus (GEO) datasets, comprising 162 epileptic and 35 non-epileptic control samples. After preprocessing and batch correction, differential expression analysis and ensemble-based feature selection were performed using the supervised classifiers Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), Extra Trees (ETs), and XGBoost. SHAP (SHapley Additive Explanations) values were used to prioritize features. External validation was conducted on an independent dataset (n = 68). Drug-gene interactions and molecular docking were applied to top-ranked genes. A set of 897 differentially expressed genes (DEGs), including 659 upregulated and 238 downregulated genes, was identified and was enriched for immune-inflammatory processes. Machine learning classifiers achieved high internal performance (mean ROC-AUC: 0.98-0.99) and robust external validation (ensemble ROC-AUC: 0.93). SHAP analysis consistently prioritized genes, including TNF, IL1B, and P2RY12. These features were biologically enriched in microglial and monocyte-related pathways. Drug-gene interaction identified multiple repurposable compounds, with Prasugrel and Pentamidine having strong binding affinities in docking studies. This study reveals reproducible immune-related transcriptomic biomarkers of drug-resistant epilepsy, highlights actionable targets for therapeutic repurposing, and provides a framework for precision medicine approaches in epilepsy. Code and processed data are available at: https://github.com/Tayyab-Ijaz/EpilepsyBiomarkerDrugs .

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-12-25
DOI
https://doi.org/10.1038/s41598-025-30401-x
Primary Topic
Epilepsy research and treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable machine learning identifies immune-inflammatory biomarkers and therapeutic candidates in drug-resistant epilepsy

Muhammad Tahir ul Qamar, Usman Ali Ashfaq, Tayyab Ijaz, Hamna Maqsood et al.
Scientific Reports
Epilepsy research and treatment
article

Explainable machine learning identifies immune-inflammatory biomarkers and therapeutic candidates in drug-resistant epilepsy

Muhammad Tahir ul Qamar, Usman Ali Ashfaq, Tayyab Ijaz, Hamna Maqsood, Abdur Rehman
article en

Abstract

Drug-resistant epilepsy (DRE) affects one-third of total epileptic patients and remains a major clinical challenge. Growing evidence implicates neuroinflammation as a key contributor to epileptogenesis and therapeutic resistance, but comprehensive, reproducible transcriptomic biomarkers are lacking. This study aimed to identify immune-inflammatory gene signatures associated with DRE using integrated transcriptomic profiling and machine-learning classifiers coupled with SHAP-based post-hoc explainability. Herein, this study curated and integrated 197 publicly available RNA-sequencing samples from cortical and hippocampal tissues across three Gene Expression Omnibus (GEO) datasets, comprising 162 epileptic and 35 non-epileptic control samples. After preprocessing and batch correction, differential expression analysis and ensemble-based feature selection were performed using the supervised classifiers Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), Extra Trees (ETs), and XGBoost. SHAP (SHapley Additive Explanations) values were used to prioritize features. External validation was conducted on an independent dataset (n = 68). Drug-gene interactions and molecular docking were applied to top-ranked genes. A set of 897 differentially expressed genes (DEGs), including 659 upregulated and 238 downregulated genes, was identified and was enriched for immune-inflammatory processes. Machine learning classifiers achieved high internal performance (mean ROC-AUC: 0.98-0.99) and robust external validation (ensemble ROC-AUC: 0.93). SHAP analysis consistently prioritized genes, including TNF, IL1B, and P2RY12. These features were biologically enriched in microglial and monocyte-related pathways. Drug-gene interaction identified multiple repurposable compounds, with Prasugrel and Pentamidine having strong binding affinities in docking studies. This study reveals reproducible immune-related transcriptomic biomarkers of drug-resistant epilepsy, highlights actionable targets for therapeutic repurposing, and provides a framework for precision medicine approaches in epilepsy. Code and processed data are available at: https://github.com/Tayyab-Ijaz/EpilepsyBiomarkerDrugs .

Scientific ReportsVol. 16(1)
Government College University, Faisalabad (PK), North West Agriculture and Forestry University (CN)
Good health and well-being
Openalex Percentile: Top 34%
Epilepsy research and treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.