medRxivGenetic & Genomic MedicinePreprint
Learning lifetime disease liability reveals and removes genetic confounding in electronic health records
Abstract
Electronic health records (EHRs) have become the cornerstone of population-scale genetic studies1, but factors including patterns of healthcare use shape which and how diagnoses are recorded, leading to confounding effects in genetic associations with EHR codes2. In this study we propose EDGAR, a deep learning framework that recovers lifetime disease liability from EHR by aligning diagnostic codes with clinically validated measures and disease labels in a set of individuals prioritized through active learning. EDGAR yields representations that better capture disease-specific effects in genome-wide association analyses (GWAS). It also enables us to isolate a genetic factor that captures systemic biases in EHR codes, which distorts cross-disease correlations and drives spurious links with behavioral and socio-economic traits. We find that this factor generalizes across EHRs, and its identification in one EHR enables its removal from existing GWAS in another. Overall, our work presents a promising direction for improving specificity of EHR-based GWAS.
- assay: electronic health records
- research focus: GWAS / association mapping
- research focus: benchmarking
- approach: deep learning
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Estimate of disease heritability using 7.4 million familial relationships inferred from electronic health records
Fernanda C. G. Polubriaginof, Rami Sesha Vanguri, … Nicholas P. Tatonetti·bioRxiv·May 24, 2017
- PheCode-guided multi-modal topic modeling of electronic health records improves disease incidence prediction and GWAS discovery from UK Biobank
Ziqi Yang, Ziyang Song, … Yue Li·Briefings in BioinformaticsPeer-reviewed·Jan 1, 2026
- LabWAS: novel findings and study design recommendations from a meta-analysis of clinical labs in two independent biobanks
Jeffery A. Goldstein, Joshua S. Weinstock, … Matthew Zawistowski·PLoS GeneticsPeer-reviewed·Nov 11, 2020
- Electronic Health Record and Genome-wide Genetic Data in Generation Scotland Participants
Shona M. Kerr, Archie I Campbell, … Caroline Hayward·Wellcome Open ResearchPeer-reviewed·Sep 18, 2017
- Reducing misclassification bias in electronic health record-based GWAS of psychiatric traits using the SuperControl framework
Lisa Eick, FinnGen, … Zhiyu Yang·medRxiv·Dec 15, 2025
- Multi-ancestry gene-trait connection landscape using electronic health record (EHR) linked biobank data
Binglan Li, Yogasudha Veturi, … Marylyn DeRiggi Ritchie·medRxiv·Oct 21, 2021