View on Pubmed.gov 42457967 | View on doi.org 10.1038/s41586-... (full text)
A Bayesian framework for longitudinal EHR and genetic discovery.
- Division of Cardiology, Heart and Vascular Institute, Massachusetts General Hospital, Boston, MA, USA. surbut@mgh.harvard.edu.
- Cardiovascular Research Center, Massachusetts General Hospital, Boston, MA, USA. surbut@mgh.harvard.edu.
- Harvard Medical School, Boston, MA, USA. surbut@mgh.harvard.edu.
- Broad Institute of MIT and Harvard, Cambridge, MA, USA. surbut@mgh.harvard.edu.
- Division of Population Sciences, Dana-Farber Cancer Institute, Boston, MA, USA.
- Harvard Medical School, Boston, MA, USA.
- Broad Institute of MIT and Harvard, Cambridge, MA, USA.
- Division of Cardiovascular Medicine, Brigham and Women's Hospital, Boston, MA, USA.
- Division of Cardiology, Heart and Vascular Institute, Massachusetts General Hospital, Boston, MA, USA. Cardiovascular Research Center, Massachusetts General Hospital, Boston, MA, USA. Broad Institute of MIT and Harvard, Cambridge, MA, USA. Personalized Medicine, Mass General Brigham, Boston, MA, USA.
- Division of Cardiology, Heart and Vascular Institute, Massachusetts General Hospital, Boston, MA, USA.
- Cardiovascular Epidemiology Unit, Department of Public Health and Primary Care, University of Cambridge, Cambridge, UK. Department of Epidemiology, Harvard T.H. Chan School of Public Health, Boston, MA, USA.
- Independent Researcher, Portland, OR, USA.
- Cardiovascular Research Center, Massachusetts General Hospital, Boston, MA, USA.
- Department of Epidemiology, Harvard T.H. Chan School of Public Health, Boston, MA, USA.
- Psychiatric and Neurodevelopmental Genetics Unit, Massachusetts General Hospital, Boston, MA, USA.
- Harvard Medical School, Boston, MA, USA. alexander_gusev@dfci.harvard.edu.
- Broad Institute of MIT and Harvard, Cambridge, MA, USA. alexander_gusev@dfci.harvard.edu.
- Division of Population Sciences, Dana-Farber Cancer Institute, Boston, MA, USA. alexander_gusev@dfci.harvard.edu.
- Division of Cardiology, Heart and Vascular Institute, Massachusetts General Hospital, Boston, MA, USA. pnatarajan@mgh.harvard.edu. Cardiovascular Research Center, Massachusetts General Hospital, Boston, MA, USA. pnatarajan@mgh.harvard.edu. Harvard Medical School, Boston, MA, USA. pnatarajan@mgh.harvard.edu. Broad Institute of MIT and Harvard, Cambridge, MA, USA. pnatarajan@mgh.harvard.edu.
- Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA, USA. gp@jimmy.harvard.edu.
- Department of Data Science, Dana-Farber Cancer Institute, Boston, MA, USA. gp@jimmy.harvard.edu.
Abstract
Electronic health records (EHRs) provide rich longitudinal disease histories, but existing methods for analysing these data typically treat diseases in isolation 1 and rarely integrate germline genetics. Here we present ALADYNOULLI, a Bayesian generative framework that jointly models longitudinal EHR diagnoses, age and polygenic risk to recover latent time-varying disease signatures and patient-specific signature loadings; the model is formulated as a mixture of probabilities rather than a probability of a mixture 2, correctly accommodating simultaneous and chronic conditions. Applied to three independent biobanks (UK Biobank 3, Mass General Brigham 4 and All of Us; total n > 683,000) spanning up to 52 years of follow-up and 348 diseases, the model recovers 21 replicable signatures with high cross-cohort composition preservation (median of 80%) and reveals biological subtypes within diagnostic categories (Cohen's d up to 4.25; P ≤ 1 × 10 -8 for 95% of comparisons). Signatures are concordant with established disease biology: carriers of familial hypercholesterolaemia 5 enrich in the cardiovascular signature; carriers of clonal haematopoiesis of indeterminate potential 6 in the inflammation signature; and a rare variant burden in LDLR, TTN and BRCA2 (refs. 7,8) aligns with disease specificities. A signature-based genome-wide association study identifies 151 genome-wide significant loci including cardiovascular associations missed by single-trait analyses. An explicit likelihood enables inverse probability weighting for selection bias 9 while preserving biological signal. For disease prediction, ALADYNOULLI outperforms Pooled Cohort Equation (PCE), PREVENT and Gail at 1-year and 10-year horizons; disease-level (PheCode) predictions complement code-level foundation models such as Delphi-2M (ref. 10).
References
Zhao, J. et al. Using topic modeling via non-negative matrix factorization to identify relationships between genetic variants and disease phenotypes: a case study of lipoprotein(a) (LPA). PLoS ONE 14, e0212112 (2019).
Wang, W. & Stephens, M. Empirical Bayes matrix factorization. J. Mach. Learn. Res. 22, 1–40 (2021).
Sudlow, C. et al. UK Biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLoS Med. 12, e1001779 (2015).
Koyama, S. et al. Genetics and context for precision health in Greater Boston. Nat. Commun. 16, 11661 (2025).
Conflict of interest statement
Competing interests: The authors declare no competing interests.
MeSH
- •
Specialties
- •
- •
Copyright
© 2026. The Author(s).