Skip to main content
Nature Portfolio logoLink to Nature Portfolio
. 2022 Sep 22;28(11):2309–2320. doi: 10.1038/s41591-022-01980-3

Metabolomic profiles predict individual multidisease outcomes

Thore Buergel 1,#, Jakob Steinfeldt 2,#, Greg Ruyoga 1, Maik Pietzner 3,4, Daniele Bizzarri 5,6, Dina Vojinovic 7,8, Julius Upmeier zu Belzen 1, Lukas Loock 1, Paul Kittner 1, Lara Christmann 1, Noah Hollmann 1, Henrik Strangalies 1, Jana M Braunger 1, Benjamin Wild 1, Scott T Chiesa 9, Joachim Spranger 10,11, Fabian Klostermann 12,13, Erik B van den Akker 5,6,14, Stella Trompet 15,16, Simon P Mooijaart 15, Naveed Sattar 17, J Wouter Jukema 16,18, Birgit Lavrijssen 7,19, Maryam Kavousi 7, Mohsen Ghanbari 7, Mohammad A Ikram 7, Eline Slagboom 5,20, Mika Kivimaki 21,22, Claudia Langenberg 3,4, John Deanfield 9, Roland Eils 1,23,, Ulf Landmesser 2
PMCID: PMC9671812  PMID: 36138150

Abstract

Risk stratification is critical for the early identification of high-risk individuals and disease prevention. Here we explored the potential of nuclear magnetic resonance (NMR) spectroscopy-derived metabolomic profiles to inform on multidisease risk beyond conventional clinical predictors for the onset of 24 common conditions, including metabolic, vascular, respiratory, musculoskeletal and neurological diseases and cancers. Specifically, we trained a neural network to learn disease-specific metabolomic states from 168 circulating metabolic markers measured in 117,981 participants with ~1.4 million person-years of follow-up from the UK Biobank and validated the model in four independent cohorts. We found metabolomic states to be associated with incident event rates in all the investigated conditions, except breast cancer. For 10-year outcome prediction for 15 endpoints, with and without established metabolic contribution, a combination of age and sex and the metabolomic state equaled or outperformed established predictors. Moreover, metabolomic state added predictive information over comprehensive clinical variables for eight common diseases, including type 2 diabetes, dementia and heart failure. Decision curve analyses showed that predictive improvements translated into clinical utility for a wide range of potential decision thresholds. Taken together, our study demonstrates both the potential and limitations of NMR-derived metabolomic profiles as a multidisease assay to inform on the risk of many common diseases simultaneously.

Subject terms: Metabolomics, Predictive markers, Machine learning, Epidemiology


In a study involving more than 100,000 individuals in the UK Biobank, a neural network model trained on metabolomic data can predict disease risk for over 20 conditions and adds predictive information over clinical variables for eight common diseases.

Main

Risk stratification is central to disease prevention1,2. Over the past decade, increasingly complex information on an individual’s phenotype has become available beyond conventional demographic and laboratory information. While blood metabolites such as cholesterols are established clinical predictors for cardiovascular disease risk3, many more have been linked to common disease phenotypes48. In recent years, studies have moved beyond associations of individual markers by linking metabolomic profiles to aging9, disease onset10 and mortality11, appreciating the human blood metabolome as a direct reflection of the physiological state.

Proton nuclear magnetic resonance (1H-NMR) spectroscopy enables a standardized assessment of a multitude of small circulating molecules in the blood simultaneously. NMR differs from other techniques in metabolomics, such as mass spectrometry, by its virtual absence of batch effects, minimal requirements of expensive reagents and high throughput at comparatively low cost12. In the current assay >150 original markers are quantified, including amino and fatty acids and metabolites related to carbohydrate metabolism and fluid balance, partly overlapping with conventional clinical predictors including glucose, albumin and creatinine1315. Further, the assay has a high resolution of lipoprotein particles, measuring their components, sizes and concentrations13,14. This high-throughput NMR metabolomics platform has been explored in multiple studies investigating all-cause mortality11,16, cardiovascular disease13,17, type 2 diabetes (T2D)18,19, Alzheimer’s disease8 and COVID-19 (ref. 20). Importantly, recent work has indicated a broad metabolic basis across diseases, suggesting a shared etiology21. This systemic information contained in metabolomic profiles has been insufficiently considered in the risk prediction of common diseases.

Here we exploited the potential of NMR-based blood profiling as a single-domain assay to simultaneously predict multidisease onset. We developed, trained and validated a deep residual multitask neural network to simultaneously learn disease-specific metabolomic states for 24 conditions, including common metabolic, vascular, respiratory, musculoskeletal and neurological disorders and cancers (Fig. 1). The scalar metabolomic states, contained in a 24-dimensional vector, were derived from 168 circulating metabolomic markers measured in ~120.000 individuals in the UK Biobank population cohort22. We extensively investigated the learned metabolomic states by integrating them in Cox proportional hazard (CPH) models23, modeling the risk for individual endpoints and demonstrating that information gained through NMR metabolomic profiling is additive to known clinical predictors. Moreover, we externally validated the metabolomic states in four independent cohorts, the Whitehall II cohort24, the Rotterdam Study25, the Leiden Longevity Study26 and the PROspective Study of Pravastatin in the Elderly at Risk27 (Fig. 1c), and investigated their clinical utility.

Fig. 1. Study overview.

Fig. 1

a, To learn metabolomic states from circulating blood metabolites, the eligible UK Biobank population (with NMR blood metabolomics and valid consent) was split into training, validation and test sets with 22-fold nested cross-validation based on the assigned UK Biobank assessment center. b, For each of the 22 partitions, the metabolomic state model was trained on the 168 metabolomic markers to predict metabolomic risk against 24 common disease endpoints. Subsequently, for each endpoint, CPH models were developed on the metabolomic state in combination with sets of commonly available clinical predictors to model disease risk. Predictions of the CPH model on the test set were aggregated for downstream analysis. c, The metabolomic state model was externally validated in four independent cohorts—the Whitehall II cohort and three from the BBMRI-NL consortium: the Rotterdam Study, the Leiden Longevity Study and the PROSPER cohort. d, In this study we consider clinical predictors from scores commonly applied in primary prevention. We additionally integrate variables into a comprehensive predictor set (PANEL) to investigate overlapping information with the metabolomic state. FH, family history.

Results

Study population and the metabolomic state model

Based on the UK Biobank cohort22,28, we derived an integrated metabolomic state capturing information on incident disease risk in a general population sample (Fig. 1a,b). We extracted clinical predictors and disease endpoints for 117,981 individuals with serum NMR profiling at the time of cohort recruitment (Methods and Supplementary Tables 13). The study population had a median age of 58 years (interquartile range (IQR) 50, 63), of whom 54.2% were female, 11% current smokers and 5.2% diagnosed with T2D (Table 1). Median body mass index (BMI) was 26.8 (IQR 24.2, 29.9), systolic blood pressure was 136 mmHg (IQR 124, 149), total cholesterol was 5.65 mmol l–1 (IQR 4.90, 6.42) and glucose was 4.93 mmol l–1 (IQR 4.60, 5.32). Median follow-up was 12.2 years with ~1,435,340 overall person-years. To maximize the generalizability and transferability of our results, we partitioned the data spatially by the 22 recruitment centers. For each center, all individuals from a single center were retained for testing of models that were trained on individuals pooled from the 21 remaining recruitment centers and then randomly split into training and validation sets to develop the models. After model selection on the validation datasets and obtaining the selected models’ final predictions on the individual test sets, test set predictions were aggregated for downstream analysis (Fig. 1b).

Table 1.

The study population

Characteristic Male, n = 54,078a Female, n = 63,903a Overall, n = 117,981a
Age at recruitment 58 (50, 64) 57 (50, 63) 58 (50, 63)
Education years 15.00 (11.00, 15.00) 13.00 (11.00, 15.00) 13.00 (11.00, 15.00)
Current smoker 6,724 (12%) 5,747 (9.0%) 12,471 (11%)
Daily alcohol intake 13,651 (25%) 10,191 (16%) 23,842 (20%)
Daily moderate to vigorous physical activity 50 (15, 105) 45 (10, 90) 45 (10, 90)
Daily healthy food 52,974 (98%) 63,290 (99%) 116,264 (99%)
Family history of diabetes 8,827 (16%) 11,266 (18%) 20,093 (17%)
T2D 3,882 (7.2%) 2,295 (3.6%) 6,177 (5.2%)
Weight (kg) 84 (76, 94) 69 (62, 79) 76 (66, 88)
Standing height (cm) 176 (171, 180) 162 (158, 167) 168 (162, 175)
BMI 27.3 (25.0, 30.1) 26.1 (23.5, 29.7) 26.8 (24.2, 29.9)
Waist/hip ratio 0.93 (0.89, 0.98) 0.81 (0.77, 0.86) 0.87 (0.80, 0.94)
Waist circumference (cm) 96 (89, 103) 83 (76, 92) 90 (80, 99)
Systolic blood pressure (mmHg) 139 (128, 152) 133 (121, 147) 136 (124, 149)
Total cholesterol (mmol l–1) 5.45 (4.70, 6.21) 5.80 (5.07, 6.58) 5.65 (4.90, 6.42)
LDL cholesterol (mmol l–1) 3.46 (2.87, 4.05) 3.56 (3.00, 4.17) 3.52 (2.94, 4.12)
HDL cholesterol (mmol l–1) 1.24 (1.06, 1.45) 1.55 (1.32, 1.82) 1.40 (1.17, 1.67)
Triglycerides (mmol l–1) 1.69 (1.18, 2.44) 1.33 (0.96, 1.89) 1.48 (1.04, 2.14)
Glucose (mmol l–1) 4.96 (4.61, 5.37) 4.91 (4.59, 5.28) 4.93 (4.60, 5.32)
Glycated hemoglobin (%) 35.3 (32.8, 38.1) 35.2 (32.7, 37.7) 35.2 (32.8, 37.9)
Creatinine (umol l–1) 80 (72, 88) 63 (57, 70) 70 (61, 81)
Cystatin C (mg l–1) 0.92 (0.84, 1.01) 0.86 (0.78, 0.95) 0.88 (0.80, 0.98)
Urea (mmol l–1) 5.45 (4.68, 6.33) 5.10 (4.33, 5.95) 5.26 (4.49, 6.13)
Urate (umol l–1) 350 (305, 399) 264 (225, 309) 303 (250, 361)
Aspartate aminotransferase (U l–1) 26 (23, 31) 23 (20, 27) 24 (21, 29)
Alanine aminotransferase (U l–1) 24 (18, 32) 18 (14, 23) 20 (15, 27)
Alkaline phosphatase (U l–1) 79 (67, 93) 82 (67, 98) 80 (67, 96)
Albumin (g l–1) 45.52 (43.80, 47.24) 44.91 (43.21, 46.63) 45.20 (43.47, 46.93)
C-reactive protein (mg l–1) 1.29 (0.67, 2.55) 1.38 (0.65, 2.95) 1.33 (0.66, 2.76)
Erythrocytes (1012 cells l–1) 4.74 (4.51, 4.98) 4.32 (4.10, 4.54) 4.50 (4.23, 4.79)
Leukocytes (109 cells l–1) 6.68 (5.66, 7.89) 6.61 (5.60, 7.81) 6.64 (5.62, 7.85)
Platelets (109 cells l–1) 234 (202, 269) 261 (226, 301) 248 (214, 287)
Hemoglobin (g dl–1) 15.00 (14.37, 15.64) 13.50 (12.90, 14.10) 14.15 (13.31, 15.02)
Hematocrit (%) 43.3 (41.4, 45.2) 39.2 (37.5, 41.0) 41.0 (38.7, 43.5)
Mean corpuscular volume (fl) 91.4 (88.8, 94.1) 91.1 (88.4, 93.7) 91.2 (88.6, 93.9)
Mean corpuscular hemoglobin (pg) 31.69 (30.70, 32.70) 31.37 (30.33, 32.37) 31.50 (30.50, 32.50)
Mean corpuscular hemoglobin (g dl–1) 34.60 (34.00, 35.22) 34.36 (33.80, 35.00) 34.48 (33.90, 35.10)
Antihypertensives 1,090 (2.0%) 680 (1.1%) 1,770 (1.5%)

aMedian (IQR); n (%)

We externally validated disease-specific metabolomic states in four independent cohorts analyzed with the same 1H-NMR metabolomics assay, the Whitehall II cohort24, and three independent cohorts of the BBMRI-NL consortium (Fig. 1c). The Whitehall II cohort24 is an ongoing prospective cohort study, including metabolomics for 6,197 participants aged 44–69 years. The Rotterdam Study is a prospective, population-based cohort study among individuals living in the Ommoord district in the city of Rotterdam (the Netherlands)25, offering metabolomics for 2,949 participants with a median age of 74 years (IQR 70–79). The Leiden Longevity PAROFF Study (LLS)26 comprises offspring and spouses of long-lived individuals, with metabolomics available for 1,655 individuals with a mean age of 59 years (IQR 54–63). Finally, the PROspective Study of Pravastatin in the Elderly at Risk (PROSPER) is a clinical trial investigating pravastatin effects27, of which 960 samples with a median age of 76 years (IQR 73–78) are included in the BBMRI-NL platform. Detailed characteristics of the four replication cohorts are presented in Supplementary Data and Supplementary Table 4.

The metabolomic state model is a multitask residual neural network trained on the entire set of 168 original metabolomic markers to model the integrative metabolomic state for all 24 endpoints simultaneously (Fig. 1b, Extended Data Fig. 1 and Metabolomic state model). This allowed us to leverage the shared metabolite profiles while retaining flexibility in fitting endpoint-specific variations, outperforming endpoint-specific linear models and linear models on principal components (Extended Data Fig. 2).

Extended Data Fig. 1. Details of the metabolomic state model.

Extended Data Fig. 1

a) Overview of the residual architecture of the metabolomic state model. 168 circulating metabolomic markers are fed to the shared trunk network to learn a common shared representation. Endpoint-specific head networks then predict the metabolomic state for each endpoint from the shared representation and the input using a residual connection. b) Details of the residual head network. The model architecture is described in detail in (Methods Section ‘Metabolomic state model’).

Extended Data Fig. 2. The metabolomic state model outperforms linear baselines on NMR-derived metabolite profiles, and NMR-derived metabolite profiles are more predictive than PANEL metabolites.

Extended Data Fig. 2

a) Displayed are C-indices for the Cox Proportional Hazards models trained on the metabolomic state (MET), the 168 metabolites (CPH) as well as on the first ten components of a PCA-reduction of the 168 metabolites (PCA) for each of the 24 investigated endpoints. The metabolomic state performs comparably or better than both the CPH and PCA models for all endpoints, except prostate cancer. b) Displayed are C-indices for Cox Proportional Hazards models trained on Age+Sex (Age+Sex), the metabolomic states derived from NMR metabolomics (MET(NMR)), the metabolomic states derived from the PANEL metabolites (MET(PANEL)) and combinations of Age+Sex and the metabolomic states respectively. NMR profiles provide predictive information comparable or superior to the PANEL metabolites for all investigated endpoints, also reflected in the predictive performance over the Age+Sex covariates. The MET(PANEL) set included albumin, cholesterol, HDL and LDL cholesterol, triglycerides, glucose, and creatinine. Statistical measures were derived from n = 117.981 individuals. Individuals with prior events were excluded (Supplementary Table 1). Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping over 1000 iterations. PAD - Peripheral Artery Disease, AAA - Abdominal Aortic Aneurysm, COPD - Chronic Obstructive Pulmonary Disease.

To test whether multidisease states could be equally informative from readily accessible information from study participants at baseline, we investigated three different scenarios with increasingly comprehensive predictor sets. First, we considered age and sex only, both highly predictive for common diseases and available at no cost. Second, we investigated cardiovascular predictors from well-validated primary prevention scores, the American Heart Association (ASCVD)3, which are easily accessible at minimal cost and are predictive beyond cardiovascular disease, including neurological and neoplastic conditions2931. Third, we extended these predictors with a comprehensive set of clinical predictors beyond what is typically available in primary care. These included >30 predictors with information on lifestyle factors, physical measurements and laboratory values, as well as further validated disease-specific predictors from FINDRISC32 (T2D) and CAIDE33 (dementia) scores (Fig. 1d and Supplementary Table 2).

Metabolomic state stratifies the risk of disease onset

A critical component of prevention is identification of individuals at high risk of developing a disease, often at an early subclinical stage. To investigate whether the NMR-derived metabolomic state informs disease risk, we assessed the link with incident event rates in the observation period (Fig. 2a). To allow comparison between the endpoints despite the large differences in event rates (Supplementary Table 7; for example, Parkinson’s disease, 0.6%; major adverse cardiac event (MACE), 8.7%), we also calculated the observed event rate ratio between individuals in the top and bottom 10% of metabolomic states (Fig. 2 and Supplementary Table 7) with 95% confidence intervals (CIs).

Fig. 2. Metabolomic state is associated with ORs and stratifies survival.

Fig. 2

a, Observed event frequency for incident disease plotted against metabolomic state percentiles over the entire study population for all 24 endpoints. b, Cumulative event rates over the observation time for all assessed endpoints, stratified by metabolomic state quantiles (light blue, bottom 10%; blue, median 10%; dark blue, top 10%), with 95% CIs indicated. PAD, peripheral artery disease.

We observed increasing event rates over metabolomic state percentiles for all 24 investigated diseases, except breast cancer. For 15 of the 24 diseases, the top 10% of the metabolomic state corresponded to a rate more than fivefold higher compared with the bottom 10%. For conditions such as T2D (top 10%, 21.87%; bottom 10%, 0.36%; odds ratio (OR) 61.45, 95% CI 47.00, 86.12), abdominal aortic aneurysm (AAA) (top 10%, 2.46%; bottom 10%, 0.18%; OR 14.1, 95% CI 9.93, 24.45) and heart failure (top 10%, 10.80%; bottom 10%, 0.96%; OR 11.27, 95% CI 9.43, 13.50) the ratio was >10. Ratios for most other diseases were lower—for example, cerebral stroke 9.66 (95% CI 7.64, 12.14), MACE 9.25 (95% CI 8.12, 10.53), atrial fibrillation 8.13 (95% CI 6.95, 9.37), all-cause dementia 6.39 (95% CI 5.40, 8.09) or chronic obstructive pulmonary disease (COPD) 4.98 (95% CI 4.37, 5.62). In contrast, we observed much smaller ratios for some diseases—for example, glaucoma (top 10%, 3.47%; bottom 10%, 1.57%; OR 2.19, 95% CI 1.91, 2.62) or asthma (top 10%, 5.52%; bottom 10%, 2.48%; OR 2.22, 95% CI 2.01, 2.57), thus suggesting less information contained in the respective metabolomic states. In summary, the disease-specific metabolomic state stratified risk trajectories for all investigated endpoints except breast cancer (Fig. 2b), separating the rates of cumulative events most notably for T2D, renal disease and heart failure but also, to a much lesser extent, for glaucoma or asthma.

Information is shared with clinical predictors

Many clinical predictors are readily available in primary care and commonly used to stratify the risk of common diseases such as cardiovascular disease3, kidney disease34 or diabetes32. While more complex risk scores have been proposed35, the trade-off between the added predictive information and resources in time and cost required to collect the new data has limited clinical adoption36. We therefore investigated the predictive information of the relatively affordable and standardized NMR metabolomics assay against common clinical variables in the UK Biobank and in four independent validation cohorts.

First, we modeled disease risk for each endpoint in the UK Biobank using CPH models for three clinical predictor sets with increasing complexity: Age+Sex, highly predictive and available ahead of any test; ASCVD, a set of readily available cardiovascular predictors; and PANEL, a comprehensive selection of clinical predictors including in-depth blood measurements (Fig. 1d) exceeding those typically available in primary care. For all sets, the performance of CPH models was benchmarked against those based on the sets’ combinations with the metabolomic state. As quantified by Harrell’s C-index, the discriminative performances of all models at 10 years after baseline are shown in Fig. 3a. Subsequently, to validate metabolomic states, we applied the trained metabolomic state model to the external validation cohorts and replicated the CPH models with and without metabolomic state addition for the Age+Sex predictor set for all endpoints available. The results of the external validation are shown in Extended Data Fig. 3. We noted the discriminative performance of the metabolomic state to be highly disease dependent: while the metabolomic state contained significantly less predictive information than clinical predictors for cataract, glaucoma and skin, colon, rectal and prostate cancers, this was not the case for renal disease, liver disease and T2D. Here, the metabolomic state contained a greater predictive value than Age+Sex and even ASCVD. Generally, we observed an increase in discriminative performance with the addition of more comprehensive clinical predictors across all endpoints, and performances were stable over different age groups, biological sexes and ethnic backgrounds (Extended Data Fig. 4).

Fig. 3. Predictive value of the metabolomic state is endpoint dependent.

Fig. 3

a, Comparison of discriminative performance of CPH models trained on the metabolomic state only (MET), the three clinical predictor sets (Age+Sex, ASCVD and PANEL) and the sets’ combinations with the metabolomic state. Horizontal dashed lines indicate the median performance of the three clinical predictor sets. b, Differences in discriminative performance between the Age+Sex baseline (dashed line), metabolomic state only (blue) and the combination of Age+Sex and metabolomic state (green). c, Differences in discriminative performance between ASCVD predictors (dashed line), the combination of Age+Sex and the metabolomic state (green) and the combination of metabolomic state and ASCVD predictors (red). d, Difference in discriminative performance between comprehensive PANEL predictors (dashed line), ASCVD + MET (red) and PANEL + MET (black). ad, Statistical measures were derived from n = 117.981 individuals; those with previous events were excluded (Supplementary Table 1). Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping of with 1,000 iterations. bd, The x-axis range differs across panels; vertical grid lines indicate differences of 0.02 C-index.

Extended Data Fig. 3. External validation in four independent cohorts.

Extended Data Fig. 3

a) Displayed are discriminative performances described by the C-index for UK Biobank and the four external validation cohorts, Whitehall II (WHII), Rotterdam Study (RS), Leiden Longevity Study (LLS), and the PROSPER trial (PROSPER). CPH models were trained on the metabolomic state model (MET) as fitted on UK Biobank and applied to each cohort, as well as on Age+Sex and Age+Sex+MET. The metabolomic state is predictive in the replication cohorts for all assessed endpoints. Dots indicate the median performance, while whiskers indicate the 95% confidence interval (CI) determined by bootstrapping over 1000 iterations. b) Age+Sex adjusted hazard ratios (HRs) for the metabolomic state in all five cohorts. A unit standard deviation increase in the metabolomic state corresponds to an HR increase in predicted risk. Statistical measures were derived from n = 6.117 (Whitehall II), n = 2949 (Rotterdam Study), n = 1655 (Leiden Longevity Study), and n = 960 (PROSPER) individuals as indicated. Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping over 1000 iterations.

Extended Data Fig. 4. The discriminative performance is largely comparable over multiple subgroups.

Extended Data Fig. 4

Discriminative performance is stratified by endpoint, age at recruitment, biological sex, and self-reported ethnic background. As the concordance index is only reliable if a sufficient number of events are recorded, subgroups with < 100 events were excluded. The number of events and eligible individuals is indicated at the top of each panel. Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping with 1000 iterations.

To better assess the predictive value of the metabolomic state (MET) in comparison with clinical variables, we calculated C-index deltas (Fig. 3b–d). We noted that CPH models fit solely on the metabolomic state performed competitively or better than Age+Sex for ten of the 24 endpoints, including T2D and COPD, but also for heart failure, liver disease and renal disease (Fig. 3b). The competitive performance compared with Age+Sex was replicated in the validation cohorts for T2D, COPD, heart failure, coronary heart disease (CHD) and all-cause dementia (Extended Data Fig. 3 and Supplementary Table 10).

Interestingly, CPH models fit on the combination of the metabolomic state with Age+Sex (Age+Sex + MET) performed comparably to, or better than, the ASCVD predictors for 15 of the 24 endpoints, including T2D, liver disease, renal disease, heart failure, venous thrombosis and dementia (Fig. 3c). While the comprehensive PANEL score generally contained the most predictive information, surprisingly we observed only modest gains over the combination of ASCVD and the metabolomic state, and Age+Sex and the metabolomic state (Fig. 3d). Applying the complex metabolomic state model architecture to the predictors of the PANEL, we did not observe systematic performance improvements (Extended Data Fig. 5).

Extended Data Fig. 5. Comparison of the predictive performance of the PANEL predictors in a Cox proportional hazard model and the neural network.

Extended Data Fig. 5

Comparison of discriminative performances of the CPH models and Metabolomic State Model (MSM) trained on the PANEL covariates. The discriminative performance of the PANEL predictors is either similar or can be further improved by modeling with the same architecture as the metabolomic state model for most (non-cancer) endpoints. Statistical measures were derived from n = 117.981 individuals. Individuals with prior events were excluded (Supplementary Table 1). Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping with 1000 iterations.

Discriminative improvements over clinical predictors

In addition to investigating the shared information, we were interested in quantifying the additive predictive value of metabolomic state over readily available clinical variables. To understand how the information is distributed over the PANEL predictors, we first assessed the aggregated coefficients of the CPH model and found that basic demographic information, medical history and physical measurements provided the most predictive information over all endpoints (Supplementary Table 5). In addition, apart from shared measures (for example, glucose, albumin or creatinine), lipids and creatinine/cystatin c, we did not observe strong correlations (|r| > 0.5) between the PANEL predictors and NMR metabolites (Supplementary Table 6). Therefore, we continued assessment of performance differences between the CPH models’ fit on clinical predictors and those with the added metabolomic state by calculating differences in the C-index (Supplementary Table 9).

In the UK Biobank, the metabolomic state significantly added predictive information over age and sex for 18 of the 24 endpoints; in contrast, endpoints with a comparably low predictive value of the metabolomic state, such as Parkinson’s disease, skin cancer, colon cancer, rectal cancer, glaucoma and cataract, did not benefit from the addition of the metabolomic state. Results from four external cohorts independently confirmed significant discriminative improvements over Age+Sex for CHD, heart failure, atrial fibrillation, T2D and COPD (for detailed results and event counts for the independent cohorts, see Extended Data Fig. 3a and Supplementary Table 10).

Beyond basic demographic predictors, addition of the metabolomic state to cardiovascular predictors further significantly improved discriminative performance for 15 of the 24 endpoints (Fig. 3c). Even when added to the comprehensive PANEL set, the metabolomic state provided significant additional discriminatory value for eight of the 24 endpoints (Fig. 3d) as quantified by C-index, including T2D (0.009, 95% CI 0.007, 0.012), dementia (0.005, 95% CI 0, 0.009), heart failure (0.005, 95% CI 0.003, 0.007), COPD (0.005, 95% CI 0.003, 0.006), renal disease (0.004, 95% CI 0.002, 0.005), CHD (0.003, 95% CI 0.001, 0.004) and MACE (0.002, 95% CI 0, 0.004).

We further sought to understand the potential of the metabolomic state in regard to individual risk under consideration of established clinical predictors. Therefore, we examined the partial effects and hazard ratios (HRs, per s.d. metabolomic state, with 95% CI) of the CPH models trained on the combinations of the metabolomic state and predictor sets Age+Sex, ASCVD and PANEL (Extended Data Fig. 6a) for those 18 endpoints with discrimination benefits over the Age+Sex set. We observed a notable separation between the top, median and bottom 10% of the metabolomic state in 14 of the 18 endpoints when adjusted for more comprehensive clinical predictors (for HRs, see Extended Data Fig. 6b). A change of 1 s.d. in the metabolomic state for T2D resulted in substantially adjusted HRs (HRAge+Sex 3.83 (95% CI 3.71–4.01), HRPANEL 2.5 (95% CI 2.34–2.67)), which were replicated with adjustment for Age+Sex in the independent cohorts (Extended Data Fig. 3b). Other investigated endpoints, such as all-cause dementia (HRAge+Sex 1.56 (95% CI 1.54–1.72), HRPANEL 1.46 (95% CI 1.43–1.47)), heart failure (HRAge+Sex 1.8 (95% CI 1.74–1.86), HRPANEL 1.45 (95% CI 1.38–1.52)), COPD (HRAge+Sex 1.56 (95% CI 1.53–1.6), HRPANEL 1.35 (95% CI 1.31–1.39)) or MACE (HRAge+Sex 1.63 (95% CI 1.58–1.69), HRPANEL 1.4 (95% CI 1.33–1.46)), showed less pronounced, yet clear, separation of risk trajectories. In regard to T2D, the HRs of the metabolomic states were externally validated with adjustment for Age+Sex for all-cause dementia, heart failure, atrial fibrillation, CHD and COPD (Extended Data Fig. 3b). In contrast, the metabolomic state only marginally modified the risk trajectories for asthma (HRAge+Sex 1.37 (95% CI 1.3–1.44), HRPANEL 1.09 (95% CI 1.03–1.16)) and cataract (HRAge+Sex 1.22 (95% CI 1.18–1.25), HRPANEL 1.08 (95% CI 1.05–1.11)).

Extended Data Fig. 6. Adjusted effect of the metabolomic state is endpoint dependent.

Extended Data Fig. 6

a) Adjusted trajectories representing the partial cumulative risk dependent on the metabolomic state over time for the endpoints where the metabolomic state added information to the Age+Sex baseline (see Fig. 3b) for the bottom (light blue), median (blue), and top (dark blue) 10% metabolomic state quantiles. The shaded area indicates the 95% confidence interval as estimated by bootstrapping over 1000 iterations. b) Adjusted hazard ratios (HRs) for the metabolomic state in combination with the three clinical predictor sets. A unit standard deviation increase in the metabolomic state corresponds to an HR increase in predicted risk. Statistical measures were derived from n = 117.981 individuals. Individuals with prior events were excluded (Supplementary Table 1). Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping with 1000 iterations.

Discriminative performance translates to clinical utility

While discrimination is critical, the clinical utility of any risk model depends on calibration and the choice of adequate thresholds for interventions. We found all models well calibrated in the UK Biobank Cohort (see Fig. 4a–c and Supplementary Fig. 1 for details on all endpoints). UK Biobank37, as one of the largest and most comprehensive population cohorts in the world, therefore, allowed us to estimate clinical utility with high precision over a wide range of clinically reasonable intervention thresholds. However, adequate clinical decision thresholds directly depend on the benefits and harms of interventions and disease prevalence. We therefore calculated decision curves38 to estimate the benefit of adding metabolomic information to a prediction model (see Fig. 4d–i and Supplementary Fig. 1 for details on all endpoints). Further, we calculated clinically relevant metrics such as sensitivity, positive predictive value and positive likelihood ratio over multiple false-positive rates (Supplementary Table 11)39.

Fig. 4. Model calibration and additive predictive value of the metabolomic state translate to potential clinical utility.

Fig. 4

ac, Calibration curves for CPH models, including baseline parameter sets Age+Sex, ASCVD and PANEL, as well as their combinations with the metabolomic state (Age+Sex + MET) for the endpoints T2D (a), dementia (b) and heart failure (c). df, Endpoint-specific net benefit curves standardized by endpoint prevalence, where horizontal solid gray lines indicate ‘treat none’ and vertical solid gray lines indicate ‘treat all’; T2D (d), dementia (e) and heart failure (f). The standardized net benefits of sets Age+Sex, ASCVD and PANEL are compared with Age+Sex + MET and additional non-laboratory predictors of PANEL (PANELnoLaboratory). Green and blue color-filled areas indicate the added benefit of the combination of the metabolomic state and Age+Sex and PANELnoLaboratory, respectively. gi, Standardized net benefit curves comparing the performance of PANEL + MET against baselines Age+Sex, ASCVD and PANEL; T2D (g), dementia (h) and heart failure (i). Decision curves were derived from n = 111,745 (T2D), n = 117,245 (dementia) and n = 113,636 (heart failure) individuals.

Specifically, we investigated the application of the metabolomic state in two scenarios. First, as a potentially economical and practical option, we assessed the combination of the metabolomic state with Age+Sex and with the less resource-intensive, non-laboratory predictors of the PANEL set. Second, we combined the metabolomic state with the entire PANEL set (including all laboratory predictors) to assess whether there is a net benefit even beyond comprehensive predictors.

Generally we found that discriminative gains (Fig. 3) translated to utility gains (see Fig. 4d–i and Supplementary Fig. 1 for details on all endpoints). The metabolomic state substantially added to age and sex for most endpoints, and additional non-laboratory predictors either closed (12 of the 24 endpoints, including T2D, stroke, heart failure and lung cancer) or narrowed the gap (an additional four of the 24 endpoints, including dementia, atrial fibrillation and renal disease) with the comprehensive set of PANEL predictors. The addition of the metabolomic state to the comprehensive PANEL predictors led to further improvements in the utility for reasonable ranges of decision thresholds for 11 of the 24 endpoints (most notably T2D, heart failure and, to a lesser extent, dementia; see Supplementary Fig. 1 for details on all endpoints and Extended Data Fig. 7 for additional analyses investigating apolipoprotein 4 (APOE4) carrier status for dementia). Conversely, where there were no improvements in the discriminatory value, no relevant improvements in clinical utility could be found. These observations were further reflected in the positive predictive values and positive likelihood ratios (Supplementary Table 9).

Extended Data Fig. 7. The metabolomic state contains independent predictive information over the APOE4 carrier status for all-cause dementia.

Extended Data Fig. 7

a) Displayed are C-index deltas between the CPH model trained on the PANEL + APOE4 predictor set, its metabolomic state addition (PANEL + APOE4 + MET), and CPH models trained on the PANEL set and its respective metabolomic state addition (PANEL + MET). The metabolomic state adds predictive information over the PANEL + APOE4. b) Partial trajectory for MET deciles (Top, Median, Bottom 10%) adjusted for PANEL and PANEL + APOE4, respectively. c) Hazard Ratio for the Metabolomic State adjusted for the predictors of the PANEL and PANEL + APOE4. d) Decision curve analysis for PANEL/PANEL + MET and PANEL + APOE4/PANEL + APOE4 + MET. The areas in between the solid and dotted lines indicate added net benefits resulting from metabolomic state addition to PANEL (gray lines, red area) and PANEL + APOE4 (black lines, violet area), respectively. Adding MET to PANEL improves net population benefit between the 2–8% decision threshold. In the case of PANEL + APOE4, MET addition improves utility at thresholds between 5–10%. Statistical measures were derived from n = 117.245 individuals without dementia at recruitment. Data are presented as median (center of error bar) and 95% CI (line of error bar) determined by bootstrapping with 1000 iterations.

Identification of disease-specific metabolite profiles

A requirement for the adoption of neural networks in medicine is explainability. While neural networks are not inherently interpretable, methods have been developed to overcome this challenge40. To identify which metabolites most affect disease risk, we approximated Shapely additive explanation (SHAP) values41 for all investigated diseases. Generally, the larger the absolute SHAP value the more important a metabolite for an individual prediction. Based on the direction of the effect of a metabolite’s contribution, increasing or decreasing the predicted risk, SHAP can take a positive or negative value.

To understand individual metabolites in the context of the 24 investigated diseases, we investigated global metabolite attributions, the sum of absolute SHAP values per metabolite and disease (Fig. 5a and Extended Data Fig. 8). We found that most high-impact metabolites were linked to multiple diseases: plasma levels of metabolites with consistently high contribution included the amino acids glutamine, glycine and tyrosine, metabolites related to carbohydrate metabolism, albumin, the kidney function marker creatinine, glycoprotein acetylation (GlycA) and the ketone bodies acetone and acetoacetate. Further implicated were fatty acids (FA) such as linoleic acid (LA) and multiple lipoprotein components, including free cholesterol in very large high-density lipoprotein (VHDL), triglycerides in large low-density lipoprotein (LDL), phospholipids in small LDL and sphingomyelins. In addition to shared metabolite profiles, we pinpointed marked associations of creatinine with AAA, glucose with T2D and GlycA with lung cancer and COPD. For diseases with a high discriminatory value for metabolomic state, predicted metabolite contributions were considerably higher than for diseases with little discriminatory metabolomic information (Fig. 5a).

Fig. 5. Analysis of the metabolomic state informs on metabolite profiles associated with disease risk.

Fig. 5

a, Heatmap showing the importance of metabolites in regard to the estimated metabolomic states, represented by absolute global SHAP value estimates per endpoint for the 75 globally most important metabolites. Endpoints are sorted by the discriminative performance of the metabolomic state (left to right; Fig. 3a). b, Global metabolite attributions for T2D; individual attributions are aggregated by percentiles and each dot indicates one percentile. The more distant a dot from the circular baseline, the stronger the absolute attribution for that percentile. Deviations toward the center and periphery represent negative and positive contributions, respectively, to the metabolomic state. Colors indicate the metabolite’s mean plasma value. c, Global metabolite attributions for all-cause dementia. IDL, intermediate-density lipoprotein.

Extended Data Fig. 8. Global metabolite importances for each metabolite and endpoint.

Extended Data Fig. 8

Heatmap of the metabolite importances, represented by absolute global SHAP value estimates per endpoint for the 168 circulating metabolites. The endpoints are sorted by the discriminative performance of the metabolomic state (left to right, see Fig. 3a). MACE - Major Adverse Cardiac Events, CHD - Coronary Heart Disease, PAD - Peripheral Artery Disease, AAA - Abdominal Aortic Aneurysm, COPD - Chronic Obstructive Pulmonary Disease.

Subsequently we focused on T2D (Fig. 5b) and all-cause dementia (Fig. 5c), two diseases with strong metabolomic contributions over the comprehensive clinical predictors and indications of clinical utility (see above). Metabolites related to carbohydrate metabolism, such as glucose and lactate, dominated the predicted metabolomic state of T2D in our model (Fig. 5b). In line with earlier findings5,19,42, we observed contributions of amino acids, ketone bodies, lipids and FAs as well as creatinine and albumin. We confirmed that higher plasma levels of FAs, docosahexaenoic acid (DHA) and LA were associated with lower risk43,44. Further, we observed a distinct contribution of lipid content across the whole density gradient of lipoproteins, including a high triglyceride content in LDL and IDL or free cholesterol content in very small very-low-density lipoprotein (VLDL) and HDL. For all-cause dementia, we identified creatinine, albumin and the amino acids glutamine, leucine and tyrosine as predominant contributors to predicted risk (Fig. 5c). In line with earlier findings8,45, we observed a notable role of FAs such as LA and monounsaturated and saturated FAs, as well as a protective effect of branched-chain amino acids (BCAAs). Our results further implicate associations of glucose, ketone bodies acetate, acetoacetate and acetone, and beta-hydroxybutyrate. Finally we found several lipoproteins to be associated, most notably free cholesterol in very large HDL and cholesterylester in extremely large VLDL. Comprehensive data for all investigated endpoints, including the most important metabolites and disease-specific attribution profiles, can be found in Extended Data Fig. 8, Supplementary Table 12 and Supplementary Fig. 2).

Computation of SHAP values also allowed us to derive individual risk attribution profiles for individual participants and diseases, informing on the impact of single metabolites on a given prediction. We visualize the attribution profiles for T2D in two-dimensional uniform manifold approximation and projection (UMAP)46 space (Extended Data Fig. 9), which is resolved by the estimated importance of glucose (that is, SHAP values assigned to glucose regarding the predicted risk for T2D; Extended Data Fig. 9a). While most high-risk individuals (top 1% metabolomic state) are located at coordinates with strong glucose attribution, we found high-risk individuals scattered over the entire attribution space (Extended Data Fig. 9b). Interestingly, the attribution profiles of high-risk individuals were not consistently dominated by glucose but rather by, for instance, low levels of albumin, LA, DHA, histidine and glycine (Extended Data Fig. 9c). This observation is further reflected in NMR metabolite concentrations, because we found substantial differences in the concentrations of glucose, LA, FAs and triglycerides when comparing the metabolite distributions of individuals in the area with the strongest glucose attribution with those of individuals in two spatially distinct, high-risk UMAP areas (Extended Data Fig. 10).

Extended Data Fig. 9. Individual attribution profiles diverge for high-risk individuals in T2D.

Extended Data Fig. 9

The UMAP projection allows an assessment of the complex, high-dimensional manifold of attribution values in 2-dimensional space. For visualization, 41 unconnected outliers of 117981 total observations were excluded. a) UMAP of the SHAP value metabolite attributions for T2D for the entire study population colored by each individual’s metabolomic state. b) The same UMAP colored by the Glucose SHAP value. c) Displays individual attribution profiles for three high-risk (metabolomic state > 10, top 1% metabolomic state percentile) individuals, indicated by the letters A, B, C in the central UMAP. The three individual attribution profiles are dominated by different metabolites. The scale bar represents a unit in the UMAP space. The individual attribution profiles are set up equivalently to Figure 6: Each point in an individual attribution profile indicates one metabolite; the position, size, and color of the point indicate the magnitude and direction of the attributed contribution to predicted risk. The green and red circles represent the bounds of the top and bottom percentile of the global SHAP distribution, respectively, indicating outliers in the SHAP global distribution.

Extended Data Fig. 10. Metabolites differ throughout the attribution space.

Extended Data Fig. 10

Displayed are distributions for all measured metabolites (n = 168) stratified by the region (A, B, and C) in the attribution space, defined by the UMAP of the attributions for T2D (see Extended Data Figure 9c). Regions were defined by including all samples with an euclidean distance < 1 to the centroid A, B, and C, respectively; a Euclidean distance of 1 is indicated by the scale bar (see Extended Data Figure 9c). The distributions differ notably for metabolites, including glucose, fatty acids (that is LA and Omega-6), and multiple lipoprotein components (that is VLDL cholesterol and very large HDL triglycerides).

Discussion

The assessment of risk is a critical component of disease prevention. However, comprehensive risk assessment often requires the careful acquisition of predictors, one disease at a time. Thus, for each disease-specific risk score, the resources (time and cost) required for the collection can severely limit adoption and utility47. Interestingly, many common diseases involve metabolic alterations and human blood metabolomic patterns contain rich systemic information on the underlying physiology911,20,21. While individual metabolites have long been linked to disease risk, systemic information from blood metabolomics could inform on multiple diseases simultaneously. Importantly, in recent years, assays such as 1H-NMR spectroscopy have matured and allowed the assessment of serum metabolite information robustly at comparatively low cost13,14. However, the potential of metabolomic profile as a single-domain, multidisease assay in primary care has not been investigated thus far.

We have assessed the potential of NMR-derived metabolomic profiles as a tool for individualized prediction of onset across 24 common diseases. With >1.4 million person-years of follow-up, we leveraged the systemic information in metabolomic profiles to derive integrative metabolomic states for many diseases simultaneously. We found the metabolomic states to be predictive for all but one of the investigated diseases and externally validated these findings in four independent cohorts for available endpoints. Further, we investigated the predictive value beyond clinical variables and identified a subset of endpoints with potential clinical utility. Finally, we examined metabolite attributions confirming a multitude of disease-associated metabolites and a shared metabolomic background of common diseases.

Importantly, we found that the predictive information of the metabolomic state matched established clinical variables for many of the investigated endpoints. In line with previous reports on NMR–metabolite associations, we confirm that metabolomic profiles are highly predictive for, for example, T2D19, dementia8 and cardiovascular diseases6,11,17 such as CHD and heart failure48. Generally, the additional predictive information decreased over comprehensive clinical predictors, indicating that substantial parts of the metabolomic state’s discriminatory information are shared with established clinical predictors. However, for multiple endpoints, including T2D, all-cause dementia and heart failure, the metabolomic state contained complementary information that added predictive value even over comprehensive laboratory measurements. These findings largely translate into potential clinical utility for NMR-based metabolomic profiling, both as a replacement for comprehensive laboratory examinations and as an additional source of discriminatory information to refine comprehensive risk assessments for multiple diseases simultaneously.

Calculation of attributions for each individual allowed us to assess how differences in the metabolomic profile affect disease risk. We confirmed the role of metabolites such as albumin and creatinine, which have previously been associated with all-cause and disease-specific mortality11,16 and are already part of routine care49,50. Further, we confirmed the role of LA, tyrosine, glycine and cholesterylesters in extremely large VLDL in multiple diseases, further supporting metabolomic multidisease-spanning information21. Dissecting disease-specific attribution profiles, we found that metabolite attributions reflect metabolite–disease associations previously reported in the literature. In the case of T2D, we confirmed the associations between disease risk and metabolites beyond glucose. Specifically, our model captured the positive association between high levels of glycoprotein acetyls, BCAAs, lactate and FAs (both monounsaturated and saturated) and the protective role of metabolites such as LA or glycine5,19. In the attribution profile of dementia we replicated associations with BCAAs, including leucine and valine, and with FAs, most notably LA8,45. In addition, the associations of GlycAs with cardiovascular disease, T2D, COPD and lung cancer51,52 are reflected in the attributions. Consequently, our metabolomic state model learns systemic information in NMR-derived metabolomic profiles based on established shared and highly specific metabolite–disease associations.

In our perspective, 1H-NMR metabolomics profiling is an attractive candidate for a single-domain, multidisease assay. Because many countries already recommend regular check-ups entailing blood tests in the prevention of selected common diseases53, our results indicate the potential of NMR metabolomic profiling in combination with simple demographic, but also with comprehensive laboratory predictors to estimate disease risk. In addition, metabolomic risk profiles could be of potential value in the guidance of pharmacological and lifestyle interventions. This is especially relevant for diseases such as T2D, where interventions on modifiable risk factors have been shown to delay disease onset54 and prevent subsequent comorbidities55,56. Similarly, the Lancet 2020 commission suggested that up to 40% of worldwide dementia may be preventable by interventions on modifiable risk factors57. This is particularly compelling because today’s pharmacological treatment options for dementia are scarce. However, the efficacy of various lifestyle interventions58,59 is disputed, calling for further experimental investigation.

Before application in routine care, substantial challenges remain. While the 1H-NMR assay is robust and cheaper than mass-spectrometry-based alternatives, sensitivity is lower. Also, current metabolite coverage is relatively narrow and lipid focused13,14,60. Although a future expansion of metabolite coverage is expected, it presents a limitation for clinical utility to date. Further, downstream quantification from raw NMR spectra needs to be harmonized for the reliable application of multivariable prediction models. While our study population is more healthy and less deprived than the general UK population37, the results of external validation in four independent cohorts indicate general transferability of metabolomic states. However, the scope of validation was limited by the available endpoint information, constraining the replication to a subset of seven endpoints. In light of these limitations, we recommend careful scrutinization before application of the metabolomic state model beyond the validated conditions or in specific populations outside the research context. Ultimately, a broad rollout of NMR metabolomics for clinical care requires multiple logistical questions to be addressed, including both sample processing and transport.

Taken together, our work demonstrates the potential and limitations of NMR-derived metabolomic profiles as a multidisease assay to inform on the risk of many common diseases simultaneously.

Methods

Data source and endpoint definition

We use data from the UK Biobank cohort, a sample of the UK’s general population. Participants were enrolled from 2006 to 2010 in 22 recruitment centers across the United Kingdom; the follow-up is ongoing. The UK Biobank provides NMR metabolomics measured at recruitment for a subset of individuals: 63,903 women and 54,078 men aged 37–73 years at the time of baseline assessment.

Details on the characteristics of the external validation cohorts are provided in Whitehall II Cohort, Rotterdam Study, Leiden Longevity Study and PROspective Study of Pravastatin in the Elderly at Risk. We investigated a set of 24 endpoints, each defined by the earliest occurrence in primary care, hospital episode statistics or death records. Endpoints were adapted from an earlier study21 and defined by ICD10 codes (Supplementary Table 1), and patients with previous disease were excluded for each endpoint. In the case of cardiovascular endpoints we also excluded patients with lipid-lowering therapy records. In addition, we analyzed only men or only women for predominantly sex-specific diseases such as prostate and breast cancer.

The study adhered to the transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD) statement for reporting61. The complete checklist can be found in Supplementary Note 1.

Predictor selection and extraction

We investigated three sets of clinical predictor sets—Age+Sex, ASCVD and PANEL. An overview of the predictors and their use in the respective covariate sets is presented in Fig. 1d. The NMR assay covers 168 metabolites, from multiple amino acids to lipids, lipoproteins, cholesterol subtypes and inflammation markers. While the NMR assay further includes 81 percentage ratios derived from combinations of the 168 original measures, these were not included in the analysis. Basic demographic information was extracted from primary care records and matched with data collected at the study’s recruitment interview. Lifestyle information was extracted from the questionnaire completed at recruitment. Physical measurements and laboratory measures were taken at recruitment. Pre-existing medical conditions were extracted from the questionnaire, interview at recruitment, primary care records and hospital episode statistics. Medications were extracted from the recruitment interview. Cardiovascular predictors were selected based on ESC- and AHA-recommended cardiovascular risk scores for primary prevention, the AHA–ASCVD score3 and the ESC–SCORE2 (ref. 62). For the PANEL predictor set we included additional predictors from CAIDE33 and FINDRISC32 scores and comprehensive information on lifestyle, demographics, physical measurements and laboratory values available in the primary care setting. Because genotyping is currently not commonly available in primary care, we decided to omit the APOE4 status in the primary analysis. A dedicated analysis, including APOE4 carrier status for all-cause dementia, can be found in Extended Data Fig. 6. A list of all clinical predictors applied in this study is presented in Supplementary Table 2 and a list of all metabolomic predictors in Supplementary Table 3.

Dataset partitions and imputation

For model development and testing, we split the dataset into 22 spatially separated partitions based on the location of the assessment center at recruitment as previously established63. We analyzed the data in 22-fold nested cross-validation, setting aside one of the spatially separated partitions as a test set, aggregating the remaining partitions and randomly selecting 10% of the aggregated data for the validation set. Within each of the 22 cross-validation loops, the individual test set (that is, the spatially separated partition) remained untouched throughout model development and the validation set was used to validate the fitting progress and checkpoint selection. All 22 obtained models were then evaluated on their respective test sets. We assumed that missing data occurred at random and performed multiple imputations using chained equations with random forests64. Continuous variables were standardized; Categorical variables were one-hot encoded. Imputation models were fitted on the training sets and applied to the respective validation and test sets.

Metabolomic state model

The metabolomic state model is a residual neural network simultaneously predicting the metabolomic state for each of the 24 endpoints. The model consists of a shared network and smaller endpoint-specific head networks. The shared neural network comprises three fully connected linear layers, each with batch normalization, dropout65 of 0.3 and sigmoid-weighted linear units (SiLU)66 activations with 256, 256 and 512 nodes. It outputs a representation of size 512, which is passed on to the endpoint-specific residual head networks. Thereby, each of the 24 residual head networks takes two inputs: the shared representation learned by the shared network and the original 168 metabolomic markers. Each residual head network consists of a small 256-, 128- or 32-node multilayer perceptron (MLP) with a dropout of 0.6, batch normalization and SiLU activations that transform the shared representation, and a skip-connection67 network of 128, 128 and 32 nodes transforming the 168 metabolomic markers. The outputs of both networks are subsequently added in a skip-connection and fed through another two-layer, fully connected network of 128 and 128 nodes with a dropout of 0.6, batch normalization and SiLU activations before the scalar metabolomic state is computed through a final single-output linear layer with identity activation. For each endpoint, and thus for each metabolomic state, we individually calculate an adapted proportional hazards loss68, excluding prevalent events endpoint specifically. The individual losses are averaged and then summed to derive the final loss of the metabolomic state model. After architecture development, a hyperparameter search is run on training and validation splits of partition zero as random search over a constrained parameter space tuning batch size, initial learning rate, number of nodes in the layers of the endpoint heads and size of the output vector of the shared network. The final models are trained with batch size 1,024 for a maximum of 100 epochs using the Adam optimizer69 with default parameters, stochastic weight averaging, a learning rate of 0.001 and early stopping tracking of the performance on each partition’s validation set. We further apply a multistep learning rate schedule with gamma 0.1 and steps at 20, 30 and 40 epochs. We implement the metabolomic state model model in Python v.3.7 using PyTorch v.1.7 (ref. 70) and PyTorch-lightning v.1.4.

Survival analysis and metabolomic state integration

We fitted CPH models23 to derive risk predictions for the individual endpoints. Specifically, for each endpoint we developed models on seven distinct covariate sets: first, only the learned metabolomic state; second, the three clinical predictor sets age and sex, cardiovascular predictors and the comprehensive PANEL (Table 1, Fig. 1d and Predictor selection and extraction); and third, clinical predictors with the added metabolomic states for the respective endpoint. Model development was repeated independently for each assessment center and thus, for each cross-validation split, models were trained on the respective training set and checkpoints for the metabolomic state model were selected on the respective validation set. For the final evaluation, predictions made on the respective test sets were aggregated. Harrell’s C-index was calculated with the Python package lifelines71 by bootstrapping both the aggregated test set and individual assessment centers. Statistical inferences about model differences were based on the distribution of bootstrapped differences in the C-index; performances were considered significantly different when the 95% CIs of the performance deltas did not overlap with 0. CPH models were fitted with CoxPHFitter from the Python package lifelines71, with default parameters and step size of 0.5 and 0.1 to facilitate model convergence. To estimate risk trajectory based on the metabolomic state, partial metabolomics effects were calculated using a custom adaptation of lifelines CoxPHFitter’s plot_partial_effects_on_outcome method, fixing all other predictors to their central values. CIs for all statistical analyses were calculated with >1,000 bootstrapping iterations. All statistical analyses were performed in R v.4.0.2 (ref. 72).

Feature attribution estimates

SHAP values41,73 were calculated to estimate feature attribution for each endpoint and model individually. SHAP values are a combination of game-theoretically optimal Shapley values, which determine the estimated average marginal contribution of each feature for a prediction with local additivity41,73. Because computation time of exact SHAP values grows exponentially with an increasing number of features, we resort to an approximation of SHAP values: DeepSHAP, an adaptation of the DeepLIFT74 method. Importantly, the sum of the approximated SHAP values amounts to the difference between the expected model prediction on a given set of background samples and the prediction for an observed sample. Calculations were performed using the DeepExplainer method implemented in v.0.39 of the SHAP package75. After calculation of per-sample attributions for each metabolite and endpoint, attributions were aggregated per endpoint to derive a global metabolite-specific set of attributions. We identified important attributes based on the top and bottom 1% percentile borders of the SHAP value distribution over all attributions.

Individual metabolite attribution profiles

Computation of SHAP values (Feature attribution estimates) enabled the derivation of attribution profiles for each individual and disease, informing on the specific contribution of metabolites to individual risk. Individual high-impact metabolites were defined by the top and bottom 1% percentiles of the metabolite SHAP distribution (that is, SHAP ∉ (−0.2,0.2)). To assess the space of individual attribution profiles, UMAP46 for dimension reduction was fitted on the entire set of SHAP values for each endpoint individually. The UMAP projection allows assessment of the complex, high-dimensional manifold of attribution values in two-dimensional space. UMAPs were fitted using the UMAP Python package76 and default parameters. For visualization of UMAP space, 41 unconnected outliers of 117,981 total observations were excluded.

Replication in independent cohorts

The models fitted in the UK Biobank were exported via ONNX77, and calculation of metabolomic states was replicated in the Whitehall II Cohort24, the Rotterdam Study25, the Leiden Longevity Study26 and the PROspective Study of Pravastatin in the Elderly at Risk27,78 (Fig. 1c and Supplementary Table 4). In consideration of available predictors and endpoints, CPH models were fitted and evaluated as described in Survival analysis and metabolomic state integration. The ONNX weights of the model, as well as the normalization pipeline for the NMR data as fitted on the UK Biobank, are available through our GitHub repository (Code availability).

Whitehall II Cohort

The Whitehall II Cohort (WHII) is an ongoing prospective cohort study of adults, consisting of 10,308 individuals (3,413 women and 6,895 men) recruited at age 35–55 years24. At the time of recruitment (1985–1988), all study participants were working in the London offices of 20 Whitehall departments. Participants have been followed up regularly over the years, with questionnaires and self-examination conducted every 5 years. NMR profiling was performed from serum samples between 1997 and 1999.

Rotterdam Study

The Rotterdam Study (RS) is a prospective, population-based cohort study25 with the aim of determining the occurrence of common diseases in elderly people. Baseline examination took place in 1990, with approximately 7,983 persons aged 55 years and older undergoing a home interview and extensive physical examination. Follow-up visits took place every 3–4 years (RS-I)25. The study was later extended to two stages and contained 14,926 subjects as of 2008. Written informed consent was obtained from all participants, and the Medical Ethics Committee of the Erasmus Medical Center, Rotterdam, approved the study25. Metabolomics measurements were quantified in fasted EDTA plasma samples using the Nightingale Health platform. We included all 2,949 samples with complete baseline covariates and NMR metabolomics that were available in the BBMRI-NL platform.

Leiden Longevity Study

The Leiden Longevity Study (LLS) consists of 421 long-lived families of European descent. Families were included if at least two long-lived siblings were alive and fulfilled the age criterion of 89 years or older for males and 91 years or older for females, representing <0.5% of the Dutch population in 2001 (ref. 26). In total, 944 long-lived proband siblings (mean age 94 years, range 89–104), 1,671 offspring (mean age 61 years, range 39–81) and 744 spouses thereof (mean age 60 years, range 36–79) were included. Registry-based follow-up until 27 October 2016 was available for all participants. Metabolites were successfully quantified in 843 nonagenarians, 1,157 of their offspring and 684 controls using nonfasted EDTA plasma samples. We included all 1,655 samples of the offspring and spouse population with complete baseline covariates and NMR metabolomics available in the BBMRI-NL platform.

PROspective Study of Pravastatin in the Elderly at Risk

The PROspective Study of Pravastatin in the Elderly at Risk (PROSPER) trial is a double-blind, randomized, placebo-controlled trial investigating the benefit of pravastatin (40 mg d–1) in elderly individuals at risk of CVD27,78. In total, 5,804 participants (70–82 years) were identified in the primary care setting between December 1997 and May 1999 from three centers: Glasgow (UK) Cork (Ireland) and Leiden (the Netherlands). The mean follow-up period was 3.2 years. All included patients either had evidence of vascular disease (physician-diagnosed stable angina, stroke, transient ischemic attack or myocardial infarction) or high risk of vascular disease as determined by hypertension, diabetes or smoking status. Fasting venous blood samples were collected at baseline and at 3-month intervals and stored at −80 °C. For the present study, all individuals recruited at the Leiden recruitment center and with NMR metabolomics data available through the BBMRI-NL consortium (in total, 960 individuals) were included, employing the study as a cohort study. NMR metabolomics was quantified from previously unthawed 6-month postrandomization samples.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Online content

Any methods, additional references, Nature Research reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41591-022-01980-3.

Supplementary information

Supplementary Information (9.8MB, pdf)

Supplementary Note 1 (TRIPOD checklist) and Figs. 1 and 2.

Reporting Summary (1.5MB, pdf)
Supplementary Tables (537.6KB, xlsx)

Supplementary Tables 1–12

Acknowledgements

This research was conducted using data from UK Biobank, a major biomedical database (https://www.ukbiobank.ac.uk/) via application no. 51157. This project was funded by Charité – Universitätsmedizin Berlin and Einstein Foundation Berlin. The study was supported by the BMBF-funded Medical Informatics Initiative (HiGHmed, nos. 01ZZ1802A–01ZZ1802Z). Resources of Flaticon.com were used in the design of the figures. M. Kivimaki received relevant founding from The Wellcome Trust (no. 221854/Z/20/Z), the Medical Research Council (no. MR/R024227/1) and the US National Institute on Aging (no. R01AG056477). E.B.v.d.A. received relevant funds from the Dutch Research Council (NWO, no. VENI: 09150161810095). The WHII study was supported by the Wellcome Trust (no. 221854/Z/20/Z), the Medical Research Council (no. MR/R024227/1) and the US National Institute on Aging (no. R01AG056477). Ethical approval for the WHII study was obtained from the University College London Hospital Committee on the Ethics of Human Research and the NHS Health Research Authority, London-Harrow Research Ethics Committee (nos. REC 85/0938 and IRAS 142374). Written informed consent from participants was obtained at each contact. The authors thank A. Ryan and M. Newbury from the DPUK platform team for their swift and immediate help with data access. The RS is supported by the Erasmus MC University Medical Center and Erasmus University Rotterdam; the Netherlands Organization for Scientific Research (NWO); the Netherlands Organization for Health Research and Development (ZonMw); the Research Institute for Diseases in the Elderly (RIDE); the Netherlands Genomics Initiative (NGI); the Ministry of Education, Culture and Science; the Ministry of Health, Welfare and Sports; the European Commission (DG XII); and the Municipality of Rotterdam. Metabolomics measurements were funded by Biobanking and Biomolecular Resources Research Infrastructure (BBMRI)-NL (no. 184.021.007) and JNPD under the project PERADES (grant no. 733051021, Defining Genetic, Polygenic and Environmental Risk for Alzheimer’s Disease using multiple powerful cohorts, focused Epigenetics and Stem cell metabolomics). The RS protocol was approved by the Medical Ethics Committee of the Erasmus MC Rotterdam, the Netherlands (no. MEC 02.1015) and by the Dutch Ministry of Health, Welfare and Sport (Population Screening Act WBO, license no. 1071272-159521-PG). In accordance with the Declaration of Helsinki, the RS obtained written informed consent from all participants before their entering the study. The LLS received funding from the European Union’s Seventh Framework Program (FP7/2007-2011) under grant agreement no. 259679. This study was supported by a grant from the Innovation-Oriented Research Program on Genomics (SenterNovem, no. IGE05007), the Center for Medical Systems Biology and the Netherlands Consortium for Healthy Ageing (grant nos. 05040202 and 050-060-810), all within the framework of the Netherlands Genomics Initiative, NWO, Unilever Colworth and by BBMRI-NL, a Research Infrastructure financed by the Dutch government (NWO, no. 184.021.007). The LLS protocol was approved by the Medical Ethical Committee of Leiden University Medical Center before the start of the study (no. P01.113). In accordance with the Declaration of Helsinki, the LLS obtained informed consent from all participants before their entry into the study. The PROSPER study was supported by an investigator-initiated grant obtained from Bristol-Myers Squibb. J.W. Jukema is an Established Clinical Investigator of the Netherlands Heart Foundation (grant no. 2001 D 032). PROSPER was supported by the European Federation of Pharmaceutical Industries Associations (EFPIA), Innovative Medicines Initiative Joint undertaking, European Medical Information Framework (EMIF, grant no. 115372) and the European Commission under the Health Cooperation Work Program of the 7th Framework Program (grant no. 305507) ‘Heart ‘omics’ in AGEing’ (HOMAGE). The PROSPER protocol was approved by institutional ethics review boards of Cork University (Ireland), Glasgow University (UK) and Leiden University Medical Center (the Netherlands). In accordance with the Declaration of Helsinki, the PROSPER study obtained informed consent from all participants before their entry into the study.

Extended data

Author contributions

R.E., U.L., J.D., T.B. and J. Steinfeldt conceived and designed the project. T.B. and J. Steinfeldt implemented models, conducted experiments and performed data analysis. G.R. supported model introspection. M.P. advised analysis and helped in interpretation of attribution profiles. D.B., D.V., S.T., S.P.M., N.S., J.W.J., B.L., M. Kavrusi, M.G., M.A.I., E.B.v.d.A. and E.S. helped with replication of analysis in the BBMRI-NL cohorts. J.U.z.B., L.L., N.H., P.K., L.C., H.S., J.M.B. and B.W. supported the analysis. M.P., J. Spranger, F.K., M. Kivimaki and C.L. provided methodological support and contributed to discussion of the results. T.B., J. Steinfeldt, R.E. and U.L. wrote and prepared the manuscript. All authors read, revised and approved the manuscript.

Peer review

Peer review information

Nature Medicine thanks Jessica Lasky-Su and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Primary Handling Editor: Michael Basson, in collaboration with the Nature Medicine team.

Data availability

UK Biobank data, including NMR metabolomics, are publicly available to bona fide researchers upon application at http://www.ukbiobank.ac.uk/using-the-resource/. Detailed information on predictors and endpoints used in this study is presented in Supplementary Tables 13. WHII data are available for the scientific community, and researchers are invited to apply for data access at https://www.dementiasplatform.uk/. Data from the BBMRI-NL consortium are available upon application at https://www.bbmri.nl/Omics-metabolomics.

Code availability

All code developed and used throughout this study has been made open source and is available on GitHub. The code used to train the metabolomic state model can be found at github.com/thbuerg/MetabolomicsCommonDiseases, while the code used to run analysis on trained models can be found at github.com/JakobSteinfeldt/MetabolomicsCommonDiseases.

Competing interests

U.L. received grants from Bayer, Novartis and Amgen, consulting fees from Bayer, Sanofi, Amgen, Novartis and Daichy Sankyo and honoraria from Novartis, Sanofi, Bayer, Amgen and Daichy Sankyo. J.D. received consulting fees from GENinCode UK Ltd, honoraria from Amgen, Boehringer Ingelheim, Merck, Pfizer, Aegerion, Novartis, Sanofi, Takeda, Novo Nordisk and Bayer and is Chief Medical Advisor to Our Future Health. R.E. received honoraria from Sanofi and consulting fees from Boehringer Ingelheim. All other authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Thore Buergel, Jakob Steinfeldt.

These authors jointly supervised this work: John Deanfield, Roland Eils, Ulf Landmesser.

Extended data

is available for this paper at 10.1038/s41591-022-01980-3.

Supplementary information

The online version contains supplementary material available at 10.1038/s41591-022-01980-3.

References

  • 1.WHO CVD Risk Chart Working Group. World Health Organization cardiovascular disease risk charts: revised models to estimate risk in 21 global regions. Lancet Glob. Health. 2019;7:e1332–e1345. doi: 10.1016/S2214-109X(19)30318-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.A and B recommendations. U.S. Preventive Services Task Forcehttps://www.uspreventiveservicestaskforce.org/uspstf/recommendation-topics/uspstf-and-b-recommendations (2022).
  • 3.Goff David C, et al. 2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk. Circulation. 2014;129:S49–S73. doi: 10.1161/01.cir.0000437741.48606.98. [DOI] [PubMed] [Google Scholar]
  • 4.Würtz P, et al. Circulating metabolite predictors of glycemia in middle-aged men and women. Diabetes Care. 2012;35:1749–1756. doi: 10.2337/dc11-1838. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Mahendran Y, et al. Association of ketone body levels with hyperglycemia and type 2 diabetes in 9,398 Finnish men. Diabetes. 2013;62:3618–3626. doi: 10.2337/db12-1363. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Holmes MV, et al. Lipids, lipoproteins, and metabolites and risk of myocardial infarction and stroke. J. Am. Coll. Cardiol. 2018;71:620–632. doi: 10.1016/j.jacc.2017.12.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Lécuyer L, et al. NMR metabolomic signatures reveal predictive plasma metabolites associated with long-term risk of developing breast cancer. Int. J. Epidemiol. 2018;47:484–494. doi: 10.1093/ije/dyx271. [DOI] [PubMed] [Google Scholar]
  • 8.Tynkkynen J, et al. Association of branched-chain amino acids and other circulating metabolites with risk of incident dementia and Alzheimer’s disease: a prospective study in eight cohorts. Alzheimers Dement. 2018;14:723–733. doi: 10.1016/j.jalz.2018.01.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Ahadi S, et al. Personal aging markers and ageotypes revealed by deep longitudinal profiling. Nat. Med. 2020;26:83–90. doi: 10.1038/s41591-019-0719-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Schüssler-Fiorenza Rose SM, et al. A longitudinal big data approach for precision health. Nat. Med. 2019;25:792–804. doi: 10.1038/s41591-019-0414-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Deelen J, et al. A metabolic profile of all-cause mortality risk identified in an observational study of 44,168 individuals. Nat. Commun. 2019;10:3346. doi: 10.1038/s41467-019-11311-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Markley JL, et al. The future of NMR-based metabolomics. Curr. Opin. Biotechnol. 2017;43:34–40. doi: 10.1016/j.copbio.2016.08.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Soininen P, Kangas AJ, Würtz P, Suna T, Ala-Korpela M. Quantitative serum nuclear magnetic resonance metabolomics in cardiovascular epidemiology and genetics. Circ. Cardiovasc. Genet. 2015;8:192–206. doi: 10.1161/CIRCGENETICS.114.000216. [DOI] [PubMed] [Google Scholar]
  • 14.Würtz P, et al. Quantitative serum nuclear magnetic resonance metabolomics in large-scale epidemiology: a primer on -omic technologies. Am. J. Epidemiol. 2017;186:1084–1096. doi: 10.1093/aje/kwx016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Ala-Korpela, M., Zhao, S., Järvelin, M.-R., Mäkinen, V.-P. & Ohukainen, P. Apt interpretation of comprehensive lipoprotein data in large-scale epidemiology: disclosure of fundamental structural and metabolic relationships. Int. J. Epidemiol. 51, 996–1011 (2021) [DOI] [PMC free article] [PubMed]
  • 16.Fischer K, et al. Biomarker profiling by nuclear magnetic resonance spectroscopy for the prediction of all-cause mortality: an observational study of 17,345 persons. PLoS Med. 2014;11:e1001606. doi: 10.1371/journal.pmed.1001606. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Würtz P, et al. Metabolite profiling and cardiovascular event risk: a prospective study of 3 population-based cohorts. Circulation. 2015;131:774–785. doi: 10.1161/CIRCULATIONAHA.114.013116. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Fizelova M, et al. Associations of multiple lipoprotein and apolipoprotein measures with worsening of glycemia and incident type 2 diabetes in 6607 non-diabetic Finnish men. Atherosclerosis. 2015;240:272–277. doi: 10.1016/j.atherosclerosis.2015.03.034. [DOI] [PubMed] [Google Scholar]
  • 19.Ahola-Olli AV, et al. Circulating metabolites and the risk of type 2 diabetes: a prospective study of 11,896 young adults from four Finnish cohorts. Diabetologia. 2019;62:2298–2309. doi: 10.1007/s00125-019-05001-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Julkunen H, Cichońska A, Slagboom PE, Würtz P, Nightingale Health UK Biobank Initiative. Metabolic biomarker profiling for identification of susceptibility to severe pneumonia and COVID-19 in the general population. eLife. 2021;10:e63033. doi: 10.7554/eLife.63033. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Pietzner M, et al. Plasma metabolites to profile pathways in noncommunicable disease multimorbidity. Nat. Med. 2021;27:471–479. doi: 10.1038/s41591-021-01266-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Bycroft C, et al. The UK Biobank resource with deep phenotyping and genomic data. Nature. 2018;562:203–209. doi: 10.1038/s41586-018-0579-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Cox DR. Regression models and life-tables. J. R. Stat. Soc. Ser. B Stat. Methodol. 1972;34:187–202. [Google Scholar]
  • 24.Marmot M, Brunner E. Cohort profile: the Whitehall II study. Int. J. Epidemiol. 2005;34:251–256. doi: 10.1093/ije/dyh372. [DOI] [PubMed] [Google Scholar]
  • 25.Ikram MA, et al. The Rotterdam Study: 2018 update on objectives, design and main results. Eur. J. Epidemiol. 2017;32:807–850. doi: 10.1007/s10654-017-0321-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Schoenmaker M, et al. Evidence of genetic enrichment for exceptional survival using a family approach: the Leiden Longevity Study. Eur. J. Hum. Genet. 2006;14:79–84. doi: 10.1038/sj.ejhg.5201508. [DOI] [PubMed] [Google Scholar]
  • 27.Shepherd J, et al. Pravastatin in elderly individuals at risk of vascular disease (PROSPER): a randomised controlled trial. Lancet. 2002;360:1623–1630. doi: 10.1016/s0140-6736(02)11600-x. [DOI] [PubMed] [Google Scholar]
  • 28.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. 2015;12:e1001779. doi: 10.1371/journal.pmed.1001779. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Qiu C, et al. Association of blood pressure and hypertension with the risk of Parkinson disease: the National FINRISK Study. Hypertension. 2011;57:1094–1100. doi: 10.1161/HYPERTENSIONAHA.111.171249. [DOI] [PubMed] [Google Scholar]
  • 30.de Bruijn RFAG, Ikram MA. Cardiovascular risk factors and future risk of Alzheimer’s disease. BMC Med. 2014;12:130. doi: 10.1186/s12916-014-0130-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Johnson CB, Davis MK, Law A, Sulpher J. Shared risk factors for cardiovascular disease and cancer: implications for preventive health and clinical care in oncology patients. Can. J. Cardiol. 2016;32:900–907. doi: 10.1016/j.cjca.2016.04.008. [DOI] [PubMed] [Google Scholar]
  • 32.Lindström J, Tuomilehto J. The diabetes risk score: a practical tool to predict type 2 diabetes risk. Diabetes Care. 2003;26:725–731. doi: 10.2337/diacare.26.3.725. [DOI] [PubMed] [Google Scholar]
  • 33.Sindi S, et al. The CAIDE Dementia Risk Score App: the development of an evidence-based mobile application to predict the risk of dementia. Alzheimers Dement. 2015;1:328–333. doi: 10.1016/j.dadm.2015.06.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.van der Velde M, et al. Screening for albuminuria identifies individuals at increased renal risk. J. Am. Soc. Nephrol. 2009;20:852–862. doi: 10.1681/ASN.2008060655. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Mars N, et al. Polygenic and clinical risk scores and their impact on age at onset and prediction of cardiometabolic diseases and common cancers. Nat. Med. 2020;26:549–557. doi: 10.1038/s41591-020-0800-0. [DOI] [PubMed] [Google Scholar]
  • 36.Huang C, et al. Performance metrics for the comparative analysis of clinical risk prediction models employing machine learning. Circ. Cardiovasc. Qual. Outcomes. 2021;14:e007526. doi: 10.1161/CIRCOUTCOMES.120.007526. [DOI] [PubMed] [Google Scholar]
  • 37.Fry A, et al. Comparison of sociodemographic and health-related characteristics of UK Biobank participants with those of the general population. Am. J. Epidemiol. 2017;186:1026–1034. doi: 10.1093/aje/kwx246. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Vickers AJ, Elkin EB. Decision curve analysis: a novel method for evaluating prediction models. Med. Decis. Making. 2006;26:565–574. doi: 10.1177/0272989X06295361. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Hingorani, A. D. et al. Polygenic scores in disease prediction: evaluation using the relevant performance metrics. Preprint at medRxiv10.1101/2022.02.18.22271049 (2022).
  • 40.Gilpin, L. H. et al. Explaining explanations: an overview of interpretability of machine learning. Preprint at https://arxiv.org/abs/1806.00069v3 (2018).
  • 41.Lundberg, S. & Lee, S.-I. A unified approach to interpreting model predictions. Preprint at https://arxiv.org/abs/1705.07874v2 (2017).
  • 42.Mahendran Y, et al. Glycerol and fatty acids in serum predict the development of hyperglycemia and type 2 diabetes in Finnish men. Diabetes Care. 2013;36:3732–3738. doi: 10.2337/dc13-0800. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Wu JHY, et al. Omega-6 fatty acid biomarkers and incident type 2 diabetes: pooled analysis of individual-level data for 39 740 adults from 20 prospective cohort studies. Lancet Diabetes Endocrinol. 2017;5:965–974. doi: 10.1016/S2213-8587(17)30307-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Virtanen JK, Mursu J, Voutilainen S, Uusitupa M, Tuomainen T-P. Serum omega-3 polyunsaturated fatty acids and risk of incident type 2 diabetes in men: the Kuopio Ischemic Heart Disease Risk Factor study. Diabetes Care. 2014;37:189–196. doi: 10.2337/dc13-1504. [DOI] [PubMed] [Google Scholar]
  • 45.van der Lee SJ, et al. Circulating metabolites and general cognitive ability and dementia: evidence from 11 cohort studies. Alzheimers Dement. 2018;14:707–722. doi: 10.1016/j.jalz.2017.11.012. [DOI] [PubMed] [Google Scholar]
  • 46.McInnes L, Healy J, Saul N, Großberger L. UMAP: Uniform Manifold Approximation and Projection. J. Open Source Softw. 2018;3:861. [Google Scholar]
  • 47.Steyerberg EW, et al. Prognosis Research Strategy (PROGRESS) 3: prognostic model research. PLoS Med. 2013;10:e1001381. doi: 10.1371/journal.pmed.1001381. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Delles C, et al. Nuclear magnetic resonance-based metabolomics identifies phenylalanine as a novel predictor of incident heart failure hospitalisation: results from PROSPER and FINRISK 1997. Eur. J. Heart Fail. 2018;20:663–673. doi: 10.1002/ejhf.1076. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Wannamethee SG, Shaper AG, Perry IJ. Serum creatinine concentration and risk of cardiovascular disease: a possible marker for increased risk of stroke. Stroke. 1997;28:557–563. doi: 10.1161/01.str.28.3.557. [DOI] [PubMed] [Google Scholar]
  • 50.Ronit A, et al. Plasma albumin and incident cardiovascular disease: results From the CGPS and an updated meta-analysis. Arterioscler. Thromb. Vasc. Biol. 2020;40:473–482. doi: 10.1161/ATVBAHA.119.313681. [DOI] [PubMed] [Google Scholar]
  • 51.Kettunen J, et al. Biomarker glycoprotein acetyls is associated with the risk of a wide spectrum of incident diseases and stratifies mortality risk in angiography patients. Circ. Genom. Precis. Med. 2018;11:e002234. doi: 10.1161/CIRCGEN.118.002234. [DOI] [PubMed] [Google Scholar]
  • 52.Komaromy A, Reider B, Jarvas G, Guttman A. Glycoprotein biomarkers and analysis in chronic obstructive pulmonary disease and lung cancer with special focus on serum immunoglobulin G. Clin. Chim. Acta. 2020;506:204–213. doi: 10.1016/j.cca.2020.03.041. [DOI] [PubMed] [Google Scholar]
  • 53.NHS Health Check. NHShttps://www.nhs.uk/conditions/nhs-health-check/ (accessed 23 August 2022).
  • 54.Balk EM, et al. Combined diet and physical activity promotion programs to prevent type 2 diabetes among persons at increased risk: a systematic review for the Community Preventive Services Task Force. Ann. Intern. Med. 2015;163:437–451. doi: 10.7326/M15-0452. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Yusuf S, et al. Effect of potentially modifiable risk factors associated with myocardial infarction in 52 countries (the INTERHEART study): case-control study. Lancet. 2004;364:937–952. doi: 10.1016/S0140-6736(04)17018-9. [DOI] [PubMed] [Google Scholar]
  • 56.Patel SA, Winkel M, Ali MK, Narayan KMV, Mehta NK. Cardiovascular mortality associated with 5 leading risk factors: national and state preventable fractions estimated from survey data. Ann. Intern. Med. 2015;163:245–253. doi: 10.7326/M14-1753. [DOI] [PubMed] [Google Scholar]
  • 57.Livingston G, et al. Dementia prevention, intervention, and care: 2020 report of the Lancet Commission. Lancet. 2020;396:413–446. doi: 10.1016/S0140-6736(20)30367-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Silarova B, et al. Effect of communicating phenotypic and genetic risk of coronary heart disease alongside web-based lifestyle advice: the INFORM randomised controlled trial. Heart. 2019;105:982–989. doi: 10.1136/heartjnl-2018-314211. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Ngandu, T. et al. The effect of adherence on cognition in a multidomain lifestyle intervention (FINGER). Alzheimers Dement. 10.1002/alz.12492 (2021). [DOI] [PubMed]
  • 60.Emwas A-HM. The strengths and weaknesses of NMR spectroscopy and mass spectrometry with particular focus on metabolomics research. Methods Mol. Biol. 2015;1277:161–193. doi: 10.1007/978-1-4939-2377-9_13. [DOI] [PubMed] [Google Scholar]
  • 61.Moons KGM, et al. Transparent Reporting of a multivariable prediction model for Individual Prognosis Or Diagnosis (TRIPOD): explanation and elaboration. Ann. Intern. Med. 2015;162:W1–W73. doi: 10.7326/M14-0698. [DOI] [PubMed] [Google Scholar]
  • 62.SCORE2 working group and ESC Cardiovascular risk collaboration. SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease in Europe. Eur. Heart J. 2021;42:2439–2454. doi: 10.1093/eurheartj/ehab309. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Steinfeldt J, et al. Neural network-based integration of polygenic and clinical information: development and validation of a prediction model for 10-year risk of major adverse cardiac events in the UK Biobank cohort. Lancet Digit Health. 2022;4:e84–e94. doi: 10.1016/S2589-7500(21)00249-1. [DOI] [PubMed] [Google Scholar]
  • 64.Stekhoven DJ, Bühlmann P. MissForest–non-parametric missing value imputation for mixed-type data. Bioinformatics. 2012;28:112–118. doi: 10.1093/bioinformatics/btr597. [DOI] [PubMed] [Google Scholar]
  • 65.Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R. Dropout: a simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014;15:1929–1958. [Google Scholar]
  • 66.Elfwing, S., Uchibe, E. & Doya, K. Sigmoid-weighted linear units for neural network function approximation in reinforcement learning. ScienceDirect108, 3–11 (2017). [DOI] [PubMed]
  • 67.He, K., Zhang, X., Ren, S. & Sun, J. Deep Residual Learning for Image Recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 770–778 (2016).
  • 68.Katzman, J. L. et al. DeepSurv: personalized treatment recommender system using a Cox proportional hazards deep neural network. BMC Med. Res. Methodol.18, 24 (2018). [DOI] [PMC free article] [PubMed]
  • 69.Kingma, D. P. & Ba, J. L. Adam: a method for stochastic optimization. Preprint at https://arxiv.org/abs/1412.6980v8 (2015).
  • 70.Paszke, A. et al. Automatic differentiation in PyTorch. Semanticscholarhttps://www.semanticscholar.org/paper/Automatic-differentiation-in-PyTorch-Paszke-Gross/b36a5bb1707bb9c70025294b3a310138aae8327a (2017).
  • 71.Davidson-Pilon, C. et al. CamDavidsonPilon/lifelines: v0.25.8. (2021) 10.5281/zenodo.4457577
  • 72.R Core Team. R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2020).
  • 73.Lundberg SM, et al. Explainable machine-learning predictions for the prevention of hypoxaemia during surgery. Nat. Biomed. Eng. 2018;2:749–760. doi: 10.1038/s41551-018-0304-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Shrikumar, A., Greenside, P. & Kundaje, A. Learning important features through propagating activation differences. Preprint at https://arxiv.org/abs/1704.02685. (2019).
  • 75.Lundberg, S. shap: A game theoretic approach to explain the output of any machine learning model. Githubhttps://github.com/slundberg/shap (2022).
  • 76.UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction—UMAP 0.5 documentation. UMAPhttps://umap-learn.readthedocs.io/en/latest/index.html (2018).
  • 77.onnx: Open standard for machine learning interoperability. Githubhttps://github.com/onnx/onnx (2022).
  • 78.Shepherd J, et al. The design of a prospective study of Pravastatin in the Elderly at Risk (PROSPER). PROSPER Study Group. PROspective Study of Pravastatin in the Elderly at Risk. Am. J. Cardiol. 1999;84:1192–1197. doi: 10.1016/s0002-9149(99)00533-0. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Information (9.8MB, pdf)

Supplementary Note 1 (TRIPOD checklist) and Figs. 1 and 2.

Reporting Summary (1.5MB, pdf)
Supplementary Tables (537.6KB, xlsx)

Supplementary Tables 1–12

Data Availability Statement

UK Biobank data, including NMR metabolomics, are publicly available to bona fide researchers upon application at http://www.ukbiobank.ac.uk/using-the-resource/. Detailed information on predictors and endpoints used in this study is presented in Supplementary Tables 13. WHII data are available for the scientific community, and researchers are invited to apply for data access at https://www.dementiasplatform.uk/. Data from the BBMRI-NL consortium are available upon application at https://www.bbmri.nl/Omics-metabolomics.

All code developed and used throughout this study has been made open source and is available on GitHub. The code used to train the metabolomic state model can be found at github.com/thbuerg/MetabolomicsCommonDiseases, while the code used to run analysis on trained models can be found at github.com/JakobSteinfeldt/MetabolomicsCommonDiseases.


Articles from Nature Medicine are provided here courtesy of Nature Publishing Group

RESOURCES