Skip to main content
Nature Portfolio logoLink to Nature Portfolio
. 2024 Feb 21;4(3):379–395. doi: 10.1038/s43587-024-00573-8

Leveraging electronic health records and knowledge networks for Alzheimer’s disease prediction and sex-specific biological insights

Alice S Tang 1,2,, Katherine P Rankin 1,3, Gabriel Cerono 4, Silvia Miramontes 1, Hunter Mills 1, Jacquelyn Roger 1, Billy Zeng 1, Charlotte Nelson 4, Karthik Soman 4, Sarah Woldemariam 1, Yaqiao Li 1, Albert Lee 1, Riley Bove 4, Maria Glymour 5, Nima Aghaeepour 5,6,7, Tomiko T Oskotsky 1, Zachary Miller 3, Isabel E Allen 8, Stephan J Sanders 1,9,10, Sergio Baranzini 4, Marina Sirota 1,11,
PMCID: PMC10950787  PMID: 38383858

Abstract

Identification of Alzheimer’s disease (AD) onset risk can facilitate interventions before irreversible disease progression. We demonstrate that electronic health records from the University of California, San Francisco, followed by knowledge networks (for example, SPOKE) allow for (1) prediction of AD onset and (2) prioritization of biological hypotheses, and (3) contextualization of sex dimorphism. We trained random forest models and predicted AD onset on a cohort of 749 individuals with AD and 250,545 controls with a mean area under the receiver operating characteristic of 0.72 (7 years prior) to 0.81 (1 day prior). We further harnessed matched cohort models to identify conditions with predictive power before AD onset. Knowledge networks highlight shared genes between multiple top predictors and AD (for example, APOE, ACTB, IL6 and INS). Genetic colocalization analysis supports AD association with hyperlipidemia at the APOE locus, as well as a stronger female AD association with osteoporosis at a locus near MS4A6A. We therefore show how clinical data can be utilized for early AD prediction and identification of personalized biological hypotheses.

Subject terms: Alzheimer's disease, Machine learning, Ageing, Data integration, Predictive markers


Identifying individuals at risk of developing Alzheimer’s disease is an important task. Here Tang et al. leverage electronic health records to predict Alzheimer’s disease onset, and utilize knowledge networks to prioritize shared genes behind the clinical data as well as facilitate contextualization based on sex.

Main

Neurodegenerative disorders are devastating, heterogeneous and challenging to diagnose, and their burden in aging populations is expected to continue to grow1. Among these, AD is the most common form of dementia after age 65, and its hallmark memory loss and other cognitive symptoms are costly and onerous to both patients and caregivers. Approaches to curb this impact are moving increasingly to targeting interventions in at-risk individuals before the onset of irreversible decline24. To this end, advancements in AD biomarkers, diagnostic tests and neuroimaging have improved the detection and classification of AD, with approval of disease-modifying treatments, but there is still no cure and much remains unknown about its pathogenesis5,6. This is in part due to limited availability of longitudinal data or data linking molecular and clinical domains.

In the past few decades, electronic health records (EHRs) have become a source of rich longitudinal data that can be leveraged to understand and predict complex diseases, particularly AD. Prior applications of EHRs for studying AD include deep phenotyping of AD7, identification of AD-related associations and hypotheses8, and models classifying or predicting a dementia diagnosis from clinical data9. Data available in clinical records can also better represent a clinician’s knowledge of a patient’s clinical history at a point in time before further diagnostic studies or imaging, allowing a prediction model to be low cost to implement as a first-line application in primary care or for initial risk stratification10. While machine learning (ML) has been previously applied to EHRs for general dementia classification and prediction1114, these approaches have limitations. These include limited specificity for the AD phenotype15, a lack of biological interpretability, imprecise temporal information or reliance on data modalities that may not be readily available in the EHR to facilitate early prediction (for example, neuroimaging1618 or special biomarkers19,20). Sex as a biological variable is an important covariate for AD heterogeneity with potential contributions to differing risks and resilience, but sex-specific contributions have often been omitted from prior AD ML models21,22. Here we present an approach that utilizes vast EHR data for predicting future risk of AD with consideration of applicability and explainability of models.

With recent advances in informatics and curation of multi-omics knowledge, there is increasing interest in integrative approaches to derive insights into disease. Heterogeneous biological knowledge networks bring in the ability to synthesize decades of research and combine human understanding of multilevel biological relationships across genes, pathways, drugs and phenotypes, with vast potential for deriving biological meaning from clinical data23. There has been much AD research leveraging specific data modalities or combining a few modalities (transcriptomics24,25, genetics26 and neuroimaging27), but there is still a need for meaningful integration that allows for the understanding of the relationship between pathogenesis and clinical manifestations. Heterogeneous knowledge networks provide an opportunity to prioritize biological hypotheses from clinical data by synthesizing knowledge across multiple data modalities to explain relationships between many shared clinical associations28,29.

In this paper, we utilize EHR data from the University of California, San Francisco (UCSF) Medical Center to develop predictive models for AD onset and generate hypotheses of biological relationships between top predictors and AD. We carry out model construction and interpretation, controlling for demographics and visit-related confounding, to identify biologically relevant clinical predictors, and repeat with sex stratification. We demonstrate interpretability using heterogeneous knowledge networks (SPOKE knowledge graph)30 and validate predictors with supporting evidence in external EHR datasets and through genetic colocalization analysis. Our work not only has implications for determining clinical risk of AD based on EHRs, but also can lead to further research in identifying hypothesized early phenotypes and pathways to help further the field of neurodegeneration.

Results

From the UCSF EHR database of over 5 million people from 1980 to 2021, 2,996 individuals with AD who had undergone dementia evaluation at the Memory and Aging Center and thus had expert-level clinical diagnoses were identified and mapped to the UCSF Observational Medical Outcomes Partnership (OMOP) EHR database. From the remaining individuals, 823,671 controls were extracted with over a year of visits and no dementia diagnosis. After identifying an index time representing AD onset (mean onset age (s.d.), 74 (5.6) years; Methods) and filtering for availability of at least 7 years of longitudinal data, 749 individuals with AD and 250,545 controls were identified (demographics shown in Table 1). Of those, 30% were held out for model evaluation and 70% were utilized for model training (Fig. 1b and Extended Data Fig. 1). For each time point and within sex strata, ML models were either trained for AD onset prediction or trained on the AD cohort and a subset of propensity score-matched controls for hypothesis generation, where balancing was performed on demographics (sex, race and ethnicity, birth year, age) and visit-related factors (years in EHR, first EHR visit age, number of visits, number of EHR concepts and days since first EHR record; see example in Table 1 and Supplementary Table 4).

Table 1.

Demographics of individuals used in models, and an example matched cohort for the −1-year model

All filtered individuals (pre-test/pre-train split)
Control AD
n 250,545 749
Age of AD onset (s.d.) 74.0 (5.6)
Birth year, mean (s.d.) 1945.5 (10.2) 1933.9 (5.3)
First visit age, mean (s.d.) 51.2 (11.4) 57.0 (10.4)
Sex, n (%)
 Female 139,548 (55.7) 468 (62.5)
 Male 110,829 (44.2) 281 (37.5)
 Nonbinary/unknown 168 (0.1)
R&E, n (%)
 Asian/NHPI 32,427 (12.9) 151 (20.2)
 Black 17,111 (6.8) 62 (8.3)
 Latinx 15,036 (6.0) 53 (7.1)
 Other/unknown 28,177 (11.2) 45 (6.0)
 White 15,7794 (63.0) 438 (58.5)
Matched train individuals for −1-year model
Control AD SMD
n 4,184 523
Birth year, mean (s.d.) 1934.2 (5.6) 1934.0 (5.3) −0.042
First visit age, mean (s.d.) 57.2 (9.4) 56.9 (10.5) −0.028
AD onset/index time age, mean (s.d.) 74.1 (5.8) 74.1 (5.8) −0.002
Years in EHR, mean (s.d.) 15.9 (7.8) 15.9 (7.9) −0.004
log(n prev visits), mean (s.d.) 3.6 (1.5) 3.7 (1.6) 0.065
log(n concepts), mean (s.d.) 3.1 (1.3) 3.3 (1.4) 0.108
log(days since first event), mean (s.d.) 8.5 (0.4) 8.5 (0.4) 0.043
Sex, n (%) 0.094
 Female 2,343 (56.0) 317 (60.6)
 Male 1,841 (44.0) 206 (39.4)
R&E, n (%) 0.219
 Asian/NHPI 705 (16.8) 112 (21.4)
 Black 520 (12.4) 35 (6.7)
 Latinx 280 (6.7) 39 (7.5)
 Other/unknown 223 (5.3) 32 (6.1)
 White 2,456 (58.7) 305 (58.3)

The top half of the table shows characteristics of individuals in the UCSF EHR with visits and concepts over 7 years before index time. Care utilization information can be found in Supplementary Table 3. The bottom half of the table shows an example of training data where AD and controls are matched by the listed characteristics. Race & ethnicity (R&E) is a single variable derived from an algorithm developed by the UCSF Data Equity Taskforce86. log indicates natural logarithm. s.d. = standard deviation. NHPI = Native Hawaiian or Pacific Islander. SMD = standardized mean difference.

Fig. 1. Overview of participant selection and RF model performance.

Fig. 1

a, From the UCSF EHRs and the UCSF Memory and Aging Center (MAC) database, participant and clinical information was extracted, filtered and prepared for time points before the index time. All clinical features extracted were one-hot encoded and trained on random forest (RF) models to predict future risk of AD diagnosis. Models were evaluated on a 30% held-out evaluation set to compute AUROC/AUPRC and interpreted based on feature importances and using a heterogeneous knowledge network (SPOKE). Top features were then further validated in external databases. b, Filtering a consistent set of individuals with AD and controls from the UCSF EHR for model training and testing. Filtered participant cohorts are shown in Table 1 and split with 30% held-out set for testing. c, Bootstrapped performance of RF models on the held-out evaluation set (n = 300 bootstrapped iterations of 1,000 participants, prevalence of AD on held-out set = 0.003). Bootstrapped AUROC performance for models trained and tested on female strata and male strata are also shown. The box shows quartiles (25th, 50th and 75th percentiles), whiskers extend to 1.5 times the interquartile range, and the remaining points are outliers.

Extended Data Fig. 1. Cross-validation Approach.

Extended Data Fig. 1

The full dataset was split into 70% for training and choosing the best model, and 30% was set aside as the held-out evaluation set. Model selection and optimization was performed with cross-validation on the 70% training set. All final models are then evaluated on the 30% held-out evaluation set.

ML models based on clinical data can accurately predict AD onset up to 7 years in advance

Random forest (RF) models trained on only clinical features from time points between 7 years and 1 day prior to AD onset were evaluated on the held-out dataset with average bootstrapped area under the receiver operating characteristic (AUROC) curve between 0.72 (median 0.75) for the −7-year time model and 0.81 (median 0.85) for the −1-day model. The RF models performed with area under the precision recall curve (AUPRC) greater than the reference held-out evaluation set AD prevalence of 0.003 (average/median of 0.05/0.01 for −7-year model and 0.10/0.06 for −1-day model, Fig. 1c). With addition of demographics and visit-related features, RF model performance improved with average bootstrapped AUROC between 0.86 (median 0.89) and 0.90 (median 0.94) and AUPRC between mean 0.06 (median 0.04) and 0.27 (median 0.14) for the −7-year and −1-day models, respectively (Fig. 1c).

Top decision features across each time point model included features across clinical data domains, including vaccines, abnormal feces content, hypertension, hyperlipidemia (HLD) and cataracts (Extended Data Fig. 2a and Supplementary Data 1). Demographic and visit-related features became predictive for AD onset when added to the model (Extended Data Fig. 2a). EHR diagnoses mapped to phecode categories31 identified sense organs, circulatory and musculoskeletal phecode categories for early models, and mental disorder category for late models (Extended Data Fig. 2b). Among the top 50 ranked phecodes, one cluster identified phecode features that maintain high relative importance throughout the time models (HLD, hypertension, dizziness, abnormal stool contents), and other clusters contain features with relative importance at specific time points (Extended Data Fig. 2c). While some of these features support prior identified AD risk factors, the lack of adjustment may lead to feature identification as proxies for age in risk determination but not directly relevant to disease pathogenesis. Therefore, we proceed to identify disease-relevant features by training models on matched patients for the goal of hypothesis generation.

Extended Data Fig. 2. Top detailed features and phecodes from the random forest model.

Extended Data Fig. 2

a. Top detailed OMOP clinical features utilized in models for clinical feature only models (top), or clinical features + demographic + visit information models (bottom). Features within the drug/measurement categories are marked with a triangle, while demographic/visit features are marked with a circle. b. Top phecode categories utilized in models, where importance is determined by the top 5 detailed features within each phecode mapping. The vertical order is based upon the average importance across time models. c. Top 50 phecodes utilized in time models, clustered based on relative importance across time models.

Models trained on matched cohorts can identify hypotheses for biologically relevant AD predictors

To train models that are robust for AD prediction for identifying predictors without demographic-related and visit-related confounding, we trained time point models on a matched set of participants at a 1:8 ratio between AD and controls. Sufficient balance was achieved on numerical covariates that were highly important in unmatched demographic models (Extended Data Fig. 3 and Supplementary Table 3).

Extended Data Fig. 3. Comparison of age and visit-related factors between AD, controls, and matched controls.

Extended Data Fig. 3

The plots demonstrate the distribution of continuous variables utilized in matching with error bands representing standard deviation. Orange represents AD patients at each time point. Dark blue represents all controls, while light blue represents controls that have been matched at each time point.

RF models trained on only clinical features from −7 years to −1 day performed with average bootstrapped held-out evaluation set AUROC between 0.58 (median 0.57) for the −7-year model and 0.77 (median 0.77) for the −1-day model. The models performed with AUPRC greater than the held-out evaluation set AD prevalence of 0.003 with improvement closer to time 0 (mean/median of 0.02/0.008 for the −7-year model and 0.08/0.03 for the −1-day model; Fig. 2a). When demographics and visit-related information were added as features, the models performed with minimal to no improvement, with average bootstrapped test set AUROC between 0.61 (median 0.61) for the −7-year model and 0.71 (median 0.72) for the −1-day model and similar AUPRC (mean/median of 0.02/0.009 for the −7-year model and 0.05/0.03 for the −1-day model; Fig. 2a). For both the full and matched cohort models, the relative performances were consistent for balanced accuracy measures on the held-out evaluation, and a permutation test demonstrated significance for the −1-day matched cohort model (Extended Data Fig. 7).

Fig. 2. Models trained on matched cohorts allow for identification of hypotheses for AD predictors.

Fig. 2

a, Bootstrapped performance of models trained on cohorts matched by demographics and visit-related factors on the full held-out evaluation set (n = 300 bootstrapped iterations of 1,000 individuals, prevalence of AD on held-out set = 0.003). The box plot shows quartiles (25th, 50th and 75th percentiles), whiskers extend to 1.5 times the interquartile range, and the remaining points are outliers. b, Top clinical phecode categories for matched models ranked by the average of the top five importance values for each phecode category. Sorting is based on this average across time models. c, Top 50 phecodes (detailed features) across time models, with features clustered based on ward distance of rankings. d, Bootstrapped performances of sex-stratified matched models on the held-out evaluation set (n = 300 bootstrapped iterations of 1,000 individuals for each sex; reference AUPRC = 0.0036 female, 0.0022 male). Each box shows quartiles (25th, 50th and 75th percentiles), and whiskers extend to 1.5 times the interquartile range, with remaining points as outliers. e, Overlap of top matched model features for models trained on all individuals, female stratified individuals, and male stratified individuals, with model cutoff importance (RF average impurity decrease) greater than 1 × 10−6. Specific features are listed, with bold features indicating top features across all five time models and non-bolded features indicating top features across four time models.

Extended Data Fig. 7. Balanced Accuracy and Example Permutation Test.

Extended Data Fig. 7

a. Balanced accuracy on the 30% held-out evaluation set was computed for all random forest models. b. A null distribution for AUROC (score) was computed based on retrained random forest models with permutations on the ground truth label (40 permutations). P-value is calculated by (C + 1) / (n_permutations + 1), where C represents the number of permutations that scored better than the non-permuted dataset (see documentation for scikit-learn documentation of permutation_test_score function for associated paper and details).

Among top features sorted by average importance across models, top features include amnesia and cognitive concerns, HLD, dizziness, cataract, congestive heart failure, osteoarthritis and others (Fig. 2b). These top features are consistently important even when demographics and visit information were added to the model (Fig. 2b). Compared to models trained on all individuals, the models trained on matched cohorts have increased importance assigned to features like HLD and amnesia, while decreasing importance of features like pain intensity rating scale and essential hypertension (Extended Data Fig. 6).

Extended Data Fig. 6. Random Forest Feature Importance Changes Between Models.

Extended Data Fig. 6

A comparison of the random forest model feature importance between the model trained on all patients (y-axis) and the model trained on demographics/care utilization matched cohorts (x-axis). The blue line represents no change in feature importance. Above the blue line represents a decrease in feature importance in the model trained on the full cohort compared to matched cohorts, and below the line represents features with increased importance for the model trained on matched cohorts.

Because matching allows for the control of the influence of visit-related and demographic-related information on AD prediction, the remaining diagnoses features can be identified for hypothesis generation with greater specificity for AD onset risk. Top phecode categories included mental disorders, sense organs and endocrine/metabolic categories (Fig. 2c). One cluster included features with maintained predictive importance throughout time models (HLD and congestive heart failure), while other clusters included phecodes that are relatively predictive several years before AD onset (osteoarthritis, allergic rhinitis). A cluster of features emerged as important around −3 years (osteoporosis, dizziness, back pain, hemorrhoids, palpitations) and some features only emerge as important closer to the time of AD onset (memory loss and vitamin D deficiency; Fig. 2c). Together, this shows that the model can identify a combination of conditions that can lead to AD risk identification for a patient of a given age and hospital utilization burden.

Stratification by sex allows identification of features that are predictive within a subgroup

Because sex plays a role in AD risk, models were trained within male-identified or female-identified sex groups to perform sex-specific prediction and identify sex-specific predictive features, without and with matching on demographics and hospital utilization (demographics in Supplementary Table 4). Models trained on clinical features performed with average held-out evaluation set AUROC between 0.75 (median 0.76) and 0.71 (median 0.71) for −7-year female and male models to 0.84 (median 0.86) and 0.82 (0.89) for −1-day female and male models. For AUPRC, the models performed greater than the held-out evaluation set prevalence (0.0036 for females, 0.0023 for males) with performance of 0.056 to 0.11 (median 0.022 to 0.061) and 0.041 to 0.15 (0.015 to 0.056) for female and male −7 year to −1-day time models, respectively. With addition of demographics and visit-related features, AUROC/AUPRC improved considerably (Extended Data Fig. 4a). Top features include sense organs and musculoskeletal phecode categories in female-only models, and circulatory system and digestive phecode categories as important among male-only models (Extended Data Fig. 4b).

Extended Data Fig. 4. Sex stratified model performance and top features.

Extended Data Fig. 4

a. The full performance of sex-stratified models is shown. The bootstrapped AUROC/AUPRC is determined by the male or female strata of the initial 30% held-out evaluation set (n = 300 bootstrapped iterations of 1000 patients for each sex, reference AUPRC = 0.0036 female, 0.0022 male). The box shows quartiles (25%, 50%, 75%ile), and whiskers extend to 1.5*interquartile range, with remaining points as outliers. b. Top phecode categories are listed by importance for all models, with inclusion of comparison with the general non-stratified model. Vertical ordering is determined by the average importance across time models. c. Top 50 important phecodes clustered by relative importance across time models and across strata.

To identify sex-specific biologically relevant clinical predictors for hypothesis generation, models were also trained by matching on demographic and visit-related factors within each subgroup (matching results in Supplementary Table 4). Time point models trained only on clinical features performed with mean held-out evaluation set AUROC of 0.60 to 0.68 (median 0.58 to 0.74) and 0.41 to 0.75 (median 0.43 to 0.84) for female and male models, respectively (Fig. 2d). For AUPRC, models performed greater than held-out evaluation set prevalence with performance ranging from 0.031 to 0.095 (median 0.0076 to 0.046) and 0.0040 to 0.125 (0.0033 to 0.022) for female and male models, respectively. Slight improvement in performance was observed with the addition of demographics and visit-related features (Fig. 2d).

Top phecode categories in the female models included respiratory/circulatory system features earlier on, to musculoskeletal features in the −5-year model, to sense organs and mental disorders in the later models. Top categories in male models included endocrine/metabolic/circulatory disorders earlier, to digestive and genitourinary disorders, to mental disorders in the −1-day model (Extended Data Fig. 4b). When comparing specific phecodes, some are general across the subgroups such as HLD, congestive heart failure (early models) and memory/cognitive symptoms (later models; Fig. 2e and Extended Data Fig. 4c). Female-driven features across time models included osteoporosis, palpitations, allergic rhinitis, myocardial infarction, major depressive disorder and abnormal stool contents. Male-driven features included chest pain, hypovolemia, sexual disorder, tobacco use disorder and neoplasms (Fig. 2e).

For all formulations of the prediction task, logistic regression models performed comparably or worse to RF models and identified features with some overlap with those from RF models (Extended Data Fig. 5). For matched cohort models, RF performed better than logistic regression at the same time points (Supplementary Table 5) and identified decision features with nonlinear relationships with AD (for example, RF identified osteoporosis). Balanced accuracy measures for all the RF models supported similar trends in performance between models, including lower overall performance for matched cohort models, and improvement in model performance closer to AD onset (Extended Data Fig. 7a and Supplementary Table 6). As an example to evaluate the extent that clinical features meaningfully predict AD, RF models were retrained on permutations of the ground truth label (−1-day model, 40 permutations), and the trained model AUROC was significantly higher compared to the permutation distribution performance (P = 0.024, Extended Data Fig. 7b).

Extended Data Fig. 5. Logistic regression models and top coefficients.

Extended Data Fig. 5

a. The full performance of logistic regression models. The bootstrapped AUROC/AUPRC is determined the 30% held-out evaluation set (n = 300 bootstrapped iterations of 1000 patients). The box shows quartiles (25%, 50%, 75%ile), and whiskers extend to 1.5*interquartile range, with remaining points as outliers. b. Top detailed OMOP feature logistic regression coefficients are listed by importance for all model formulations. Top row shows coefficients from the model trained on all patients, while the bottom row shows coefficients from the model trained on matched cohorts. c. The full performance of sex-stratified logistic regression models is shown. The bootstrapped AUROC/AUPRC is determined by the male or female strata of the initial 30% held-out evaluation set (n = 300 bootstrapped iterations of 1000 patients for each sex). The box shows quartiles (25%, 50%, 75%ile), and whiskers extend to 1.5*interquartile range, with remaining points as outliers. d. Top phecode categories across time models and across strata, determined by the top 10 logistic regression coefficient magnitudes within each category. e. Top 50 important phecodes clustered by average logistic regression coefficient across time models and across strata, where the average logistic regression coefficient is determined by the top 10 logistic regression coefficient magnitudes within each category.

Use of a knowledge graph allowed prioritization of potential biological explanations underlying predictive features

Next, we utilized the SPOKE knowledge graph30 to utilize existing knowledge to explain biological relationships between groups of top clinical model features and AD. We identified biological features (for example, genes, proteins and compounds) between the top 25 clinical predictors (mapped to disease nodes) and AD nodes for each model (Methods).

Genes that appear in the shortest path networks among matched models across multiple time points included APOE, AKT1, INS, ALB, IL1B, TNF, IL6 and SOD1, and compounds included atorvastatin, simvastatin, ergocalciferol, progesterone, estrogen, cyanocobalamin and folic acid (Fig. 3). These genes and compounds also shared relationships to multiple occurring model input nodes, particularly familial HLD and osteoporosis among all models across time (Fig. 3). Notable nodes that appeared over at least two models included C9orf72, TREM2, APP and MAPT with relationships to input nodes of musculoskeletal and joint disorders, deafness and depression (Fig. 3).

Fig. 3. SPOKE provides biological prioritization of hypotheses associated with shared clinical phenotypes.

Fig. 3

Combined SPOKE network of all shortest paths to AD node (Disease Ontology ID: 10652) for the top 25 input features (bolded) from matched AD model at every time point. Network is organized based on the number of time point model occurrences (y axis) and eccentricity of a node in the subnetwork (x axis). Specific time point model occurrences are colored by the pie chart within each node.

Hyperlipidemia is validated as a top predictor of AD in external EHRs and a genetic link confirmed in APOE locus

To further validate the utility of models to identify predictive disease associations, we followed up on hyperlipidemia (HLD) as a top feature that was a consistent predictor across all models. Utilizing a retrospective cohort study design in the EHR of five hospitals across the University of California system (University of California Data Discovery Platform (UCDDP)) with exclusion of UCSF, HLD-diagnosed individuals (exposed group, n = 364,289) had a faster progression to AD event compared to matched unexposed individuals (n = 364,289, matched demographics in Supplementary Table 7; Fig. 4a and Extended Data Fig. 8a, log-rank test P value < 0.005). This was further confirmed with a Cox proportional hazards analysis (hazard ratio (HR) 1.52 (95% confidence interval (CI) 1.46–1.57), visit/demographic-adjusted hazard ratio (aHR) 1.26 (1.21–1.31), P value < 0.005; Extended Data Fig. 8c).

Fig. 4. The HLD and AD association is validated externally with APOE as a shared causal genetic link.

Fig. 4

a, Kaplan–Meier curve on UC-wide EHR for HLD as the exposure (error bands show 95% CI). Two-sided log-rank test is significant for all HLD versus controls (P = 2.4 × 10−85), female HLD versus female controls (P = 3.6 × 10−69), and male HLD versus male controls (P = 8.4 × 10−22). *P < 0.005. b, First-degree and second-degree neighbors of HLD on the full network representing all shortest paths from the top 25 features per time model. c, PheWAS for variant rs2075650 (ch19:44892362(hg38):A > G) on a shared locus associated with both HLD and AD, plotted based on multiple prior studies with variant phenotype associations with P value < 0.05 from the UK Biobank. The red line indicates a Bonferroni-corrected significance level of 0.05 (191 phenotypes, Bonferroni P value = 0.00026), and the arrow direction represents the beta direction of effect of the alternative allele. d, Plot of APOE protein expression colocalization with H4 (probability two associated traits share a causal variant) from Open Targets Genetics. Each dot represents a specific phenotype categorized based on trait (x axis). Each color represents an APOE molecular trait measured from blood plasma from refs. 100,101.

Extended Data Fig. 8. External EHR validation support increased AD diagnosis with hyperlipidemia and osteoporosis exposure.

Extended Data Fig. 8

a. Sex-stratified combined Kaplan-Meier survival curves with hyperlipidemia (HLD) as the exposure (curve shows survival fraction, error bands show 95% confidence interval). Patient attrition is shown in the middle for each subgroup. Below, two-sided log rank test comparison results are shown. F = female, M = male. b. Sex-stratified combined Kaplan-Meier survival curves with osteoporosis as the exposure (curve shows survival fraction, error bands show 95% confidence interval). Patient attrition is shown in the middle for each subgroup. Two-sided log rank test comparison results are shown below. c. Hyperlipidemia exposure cox proportional hazard models for AD as the outcome, shown are the hazard ratios and 95% confidence intervals obtained from the exposure coefficient for unadjusted, demographic adjusted (gender, age, race, ethnicity), visit adjusted (first visit age, log(number of visits)), and demographic/visit adjusted. Right group shows computed hazard ratios with stratification by recruitment or starting age (age strata: <55, 55-60, 60-65, 65-70, 70-75, 75-80, >80). P-values are computed by a Wald’s test whose distribution is approximated by a Chi-squared test (two-sided) with one degree-of-freedom. d. Osteoporosis exposure cox proportional hazard models for AD as the outcome, shown are the hazard ratios and 95% confidence intervals obtained from the exposure coefficient for unadjusted, demographic adjusted, visit adjusted, and demographic/visit adjusted. Right group shows computed hazard ratios with stratification by recruitment or starting age (age strata: <60, 60-65, 65-70, 70-75, 75-80, >80). P-values are computed by a Wald’s test whose distribution is approximated by a Chi-squared test (two-sided) with one degree-of-freedom.

To investigate potential relationships between HLD and AD, the HLD-specific knowledge network prioritized shared gene associations with LSS, APOE, INS, SMAD3, ALB and GFPT1 (Fig. 4b). Locus intersections between high low-density lipoprotein (LDL) cholesterol and AD among two independent genome-wide association studies (GWAS) across 408,942 individuals with AD from ref. 32 and 94,595 individuals with high LDL cholesterol from ref. 33, respectively, identified multiple shared variants, including chr19:44892362(hg38):A > G (rs2075650) and chr19:44905579(hg38):T > G (rs405509). Phenome-wide association studies (PheWAS) for rs2075650 on the UK Biobank verified significant associations with cholesterol levels, HLD, AD and family history of AD (Fig. 4c). Colocalization H4 probability, a measure that determines the probability two traits are associated at a locus based on prior studies, supports a causal link with locus variants for APOE protein quantitative trait loci (QTL) and both HLD traits and AD traits (Fig. 4d).

Female-specific predictor of osteoporosis is validated in an external EHR with potential explanations in SPOKE and genetic colocalization analysis

Osteoporosis was identified as an important feature in the matched models as a female-specific clinical predictor of AD. In the UCDDP, osteoporosis-exposed individuals (n = 68,940) showed a quicker progression to AD compared to matched unexposed individuals (n = 68,940, matched demographics in Supplementary Table 8; Fig. 5a and Extended Data Fig. 8b, two-sided log-rank test P value < 0.005). When stratified by sex, this progression was significant when comparing female individuals with osteoporosis (n = 57,486) versus female controls (n = 58,636, two-sided log-rank test P value < 0.005). Cox proportional hazards analysis further supported osteoporosis as a general risk feature for AD (HR 1.81 (95% CI 1.70–1.92), aHR 1.59 (1.45–1.70), P < 0.005; Extended Data Fig. 8d).

Fig. 5. The association between osteoporosis and AD is validated externally with MS4A6A as a potential female-specific shared genetic link.

Fig. 5

a, Kaplan–Meier curve on UC-wide EHR for osteoporosis as the exposure (error bands show 95% CI). Two-sided log-rank test is significant for all osteoporosis-exposed individuals versus controls (P = 1.4 × 10−64) and osteoporosis-exposed female individuals versus controls (P = 7.2 × 10−72), but not male osteoporosis-exposed individuals versus controls (P = 0.46). *P < 0.005. b, First-degree and second-degree neighbors of osteoporosis node on the network representing all shortest paths from the top 25 features per time model. c, P–P plots between summary statistics of AD GWAS (P value computed as described in ref. 35, n = 455,258) and sex-stratified HBMD GWAS (female n = 111,152, male HBMD n = 166,988, P value computed as described in Neale’s Lab GWAS version 3) of variants around the MS4A locus (left and middle plots) at region 60050000–60200000 of chr11 (locus plot on right). d, MS4A6A gene expression (cis-eQTL, P values computed as described in ref. 104) association with AD GWAS (P value computed as described in ref. 35) and association with sex-stratified low HBMD (P value computed as described in Neale’s Lab GWAS version 3). e, Open Targets Genetics associated phenotype graph for MS4A6A with association score computed based on a weighted harmonic sum across evidence (described in https://platform-docs.opentargets.org/associations#association-scores/). Purple words indicate diseases, while black words indicate measurements. Circles are phenotypes colored by the association score, and boxes represent the most general categories. NS, not significant.

Osteoporosis-specific SPOKE network prioritized shared gene associations with IL6, SMAD3, TNF, HSPG2, GATA1, GFPT1, HFE, INS and ALB (Fig. 5b). Based on previous GWAS studies across 472,868 individuals with AD from ref. 32 and 426,824 participants with low heel bone mineral density (HBMD) from ref. 34, a shared risk locus was found in chromosome 11 between HBMD and AD among the MS4A gene family, with the closest gene as MS4A6A. A comparison of prior GWAS of up to 71,880 individuals with AD from ref. 35 and sex-stratified low HBMD GWAS (111,152 female, 166,988 male) of UK Biobank participants (https://www.nealelab.is/uk-biobank/) supports a female-specific association at the shared locus (Fig. 5c). Colocalization analysis supports a link between MS4A6A and AD (H4 = 0.987), female-specific HBMD with AD, and phenotypes with MS4A6A gene expression (Fig. 5d; AD versus female HBMD H4 = 0.998, MS4A6A gene expression versus female HBMD H4 = 0.997). This statistical significance was not replicated for male-specific HBMD GWAS (Fig. 5d; AD versus male HBMD H4 = 0.00263, MS4A6A gene expression versus male HBMD H4 = 0.00266). MS4A6A weighted associations with other phenotypes from the Open Targets Genetics platform found locus associations with many inflammatory phenotypes including C-reactive protein, lymphocyte percentage and neutrophil count (Fig. 5e).

Discussion

While there is great potential for ML on clinical data, balancing clinical utility and biological interpretability can be challenging. To address this, we used thousands of EHR concepts to develop prediction models for expert-identified AD diagnosis and selected an index time suggesting AD onset. Cohort selection and data preprocessing is a crucial first step to identify available clinical measures and optimal ground truth that is close to biological AD and avoid overly optimistic model performance due to nonspecific AD or improper data preprocessing36. Our prediction model shows predictive power up to 7 years before the defined index time of AD onset with AUROC of 0.72 (and up to AUROC of 0.86 with additional demographic and care utilization features), which is comparable with other models in literature that utilize clinical data to predict less specific dementia or AD diagnosis11,37. An application of the full model includes determining early disease risk in primary care settings before time-consuming and costly detailed neuropsychological, biomarker or neuroimaging assessments (after which imaging or biomarker classification models can be utilized13). This can aid in identification of at-risk patients for follow-up or inclusion in early intervention or trials, with the 1-day prior model as suggesting possible AD onset to be considered at that visit to facilitate earlier AD diagnosis. Furthermore, interpretable models, such as RF models, can identify common decision point features and allow clinicians to understand what clinical features were used in determining prediction probability and assess the model output with greater trust compared to ‘black box’ models.

To identify early clinical predictors that may be biologically relevant for AD diagnosis, we trained models on individuals matched by pre-identified confounding variables such as demographics and visit-related features to account for their influence in AD prediction. ML models still retain the ability to predict AD diagnosis with mean AUROC over 0.70 after the −3-year model for RF models. Demographics and visit-related features minimally improved model performance, as matching increased the specificity of the task to predict AD onset controlled on demographics and visit-related features. In terms of clinical utility, the models trained on matched individuals provide predictive power for a given clinical scenario between two individuals with similar pre-test probability of AD risk (for example, same age and disease burden), with application of this model as a tool for determining post-test probability of future AD risk. Furthermore, by balancing on pre-identified confounders, top features may be interpreted with more biological relevance. For example, while we identified essential hypertension as an important feature in the models trained on the full cohort, this diagnosis became less important in the models trained on matched cohorts, suggesting hypertension may be nonspecific for AD and may instead be more directly related to aging or disease burden.

Our models trained on matched cohorts identify or strengthen known or suggested hypotheses for early predictors of AD, such as HLD as a feature for all time models. We also elucidate the relative importance of features years in advance, such as allergic rhinitis and atrial fibrillation as early predictors, osteoporosis and major depressive disorder as non-neurological predictors, and cognitive impairment and vitamin D deficiency as late predictors of AD. Some of these prior predictors, such as depression and vitamin D deficiency, have been previously implicated in AD risk3840. These findings potentially support hypotheses suggesting AD can be associated with general aging or frailty, which might present in non-neurological body systems either before or concurrent with AD4145. Furthermore, interpretation of these models allows for the identification of higher-order groups of predictors that may contribute to disease heterogeneity or together, contribute to AD risk. Nevertheless, while these models can identify hypotheses of predictive features, EHR data can still capture clinical biases or misdiagnoses, and further studies can investigate the influence of behavioral bias versus biological relevance.

We further trained models on sex-stratified subgroups (female versus male), with and without matching on demographics and visit-related covariates, to identify sex-specific clinical predictors. Given evidence that sex may influence different pathways to AD diagnosis24,46,47, it is important to consider how patient heterogeneity may impact the training, utility and interpretation of a prediction model. From the matched cohort models, we identified clinical features in each subgroup that were consistent with the general models, such as HLD as important in every model and memory loss as important in late models. Furthermore, we identified features that were sex specific, such as osteoporosis, major depressive disorder, allergic rhinitis and abnormal stool contents as predictors enriched among women, and chest pain, hypovolemia, prostate hyperplasia and sensorineural hearing loss as predictive among men. Further work can seek to disentangle the biological meaning of these sex-specific predictive features: whether they reflect sex-specific non-neurological manifestation of prodromal states, contributing risk factors or even sex biases in clinician evaluation and treatment (for example, bone density evaluation may arise more often after a fall). These models also demonstrate that for a heterogeneous disorder like AD, subgroup composition, like sex ratio of a cohort, can influence the performance and the features that are identified as important. Differences in subgroup size and AD prevalence may contribute to greater predictive performance among female strata models. AUPRC is particularly impacted by AD prevalence and can influence interpretation of the positive predictive value of models within each sex stratum. In terms of identified features, the higher preponderance of females leads to a sex-specific predictive factor, osteoporosis, being identified as a general predictive variable in the general group. This further indicates that both generalizable models and subgroup-specific models can provide valuable insight, both general and personalized, for a complex disease. Furthermore, in the context of ML fairness, the performance and identified features of general models may be influenced by the demographic make-up of the training population, just like how greater number and AD prevalence among females influence greater female-strata performance and identification of osteoporosis in our general models.

We utilized a heterogeneous knowledge network (SPOKE) to identify shared biological hypotheses underlying model-identified top clinical predictors and AD. By combining the shortest paths in SPOKE between top predictors and AD, we can prioritize nodes (for example, genes) that are consistently relevant for the higher-order combination of human data derived top clinical predictors and AD and give insight via prioritization and combination of relationships. First, we were able to identify known genetic associations with dementia based upon top diagnoses, such as through identification of known autosomal dominant early AD genes such as APP and PSEN1/PSEN2 (ref. 48). Other genes identified with known associations with AD include APOE, HFE and HSPG2 variants that impact AD risk4953. An example of insight gained through SPOKE integration includes ACTB relating to AD54,55, sensorineural hearing loss56, arthropathy and arthritis57. The prediction model allows for the prioritization of ACTB for individuals with the common comorbidities of sensorineural hearing loss and arthropathy/arthritis with risk of AD (where the SPOKE informed connection linking sensorineural hearing loss, arthropathy, arthritis and AD all together through ACTB has not been previously implicated in literature).

The SPOKE network can also be leveraged to propose biological explanations based on common nodes and shared associations between clinical predictors identified from human data and AD. For example, ALB is identified through SPOKE as a shared genetic association between congestive heart failure, malnutrition, HLD and AD. While prior relationships have been identified between ALB and many individual diseases, each of those diseases also have many implicated genetic relationships. Leveraging human data through the predictive models allows for the prioritization of abundant gene connection with multiple disease predictors. Given gene ALB roles in pathways such as heme biosynthesis (Reactome R-HSA-189445), HDL remodeling (Reactome R-HSA-8964058) and insulin-growth like factor regulation (Reactome R-HSA-8964058), prioritization of mechanistic hypotheses linking ALB-related pathways with the pathophysiology of EHR-derived predictors (congestive heart failure, malnutrition, HLD) can be explored in future studies. Another example insight includes INS as a shared association between osteoporosis58, hypertension59, HLD60 and AD61,62. Prior studies have identified potential mechanisms underlying the relationship between energy utilization, lipid levels, nutrition and neurodegeneration (for example, Reactome R-HSA-1266738 and R-HSA-16368)6365, and this analysis allows for prioritization of mechanistic hypotheses to be further explored. While these associations are included in the SPOKE network derived from evidence in the literature, the association of these genes with specific early clinical predictors is less established; thus, this analysis allowed us to identify a constellation of phenotypes and underlying genetic relationships observable in a clinical setting that, together, can lead a clinician to suspect future AD risk, prioritize molecular pathways for testing or personalized treatment, and guide biological hypotheses generation in AD pathogenesis for future studies.

To validate a few top clinical predictors, we utilized a hypothesis-driven approach to support the relationship between two identified features (HLD and osteoporosis) and progress to AD diagnosis in an external database across the University of California EHR system. For both phenotypes, the UC-wide EHR database supports a potential increased AD diagnosis risk due to evidence of decreased time to AD and increased hazard of AD diagnosis in patients exposed to the predictor of interest. The association between HLD and AD has been identified in prior clinical studies and systematic reviews6669. In particular, APOE is a well-established associated genetic locus70, and APOE polymorphism is known to modify AD risk, particularly in individuals carrying the ε4 allele71. Many studies have also shown the association of APOE with elevated lipid levels and cardiovascular risk factors72,73. The validation of these well-known associations shows not only that our ML models on clinical data can pick up HLD as a risk factor, but also that by utilizing the SPOKE network, we can integrate known relationships in the literature to potentially explain the association between HLD and AD and identify the APOE locus as a potential shared causal mechanism as demonstrated in the colocalization results. Beyond the ability to identify known relationships, the SPOKE network also proposes biological explanations of higher-order shared associations between clinical predictors, such as ALB as a shared genetic association between congestive heart failure, malnutrition, HLD and AD, or INS as a shared association between osteoporosis, hypertension, HLD and AD. Prior studies have identified potential mechanisms underlying the relationship between energy utilization, lipid levels, nutrition and neurodegeneration61,62,74, although specific hypotheses of mechanistic relationships are an area for exploration in future studies.

The association between osteoporosis and AD is also validated to a lesser extent in clinical studies and meta-analysis75,76, with unclear but possible sex modification of this effect. Our study identifies osteoporosis as a predictor for AD among females before AD but shows less of a relative predictive effect for males compared to other clinical features. Nevertheless, it is still possible that shared relationships between osteoporosis and AD exist in males. A bone mineral density GWAS analysis of female patients shows a significant association with AD GWAS around the MS4A family locus, and this is further supported by MS4A6A eQTL colocalization with both AD and HBMD in females. These findings of osteoporosis as a potential sex-specific predictor of AD, with shared relationships through MS4A6A, is an unknown and unexpected result identified from single-hypothesis-driven follow-up from our prediction models. Prior studies have established the MS4A gene cluster as a risk for AD, with one study identifying the cluster based on Mendelian randomization77, and another that identified a stronger female-specific effect size for MS4A6A78. Some studies investigating the role of the MS4A family suggest mechanisms that involve immune function, particularly among microglia79. While this gene may not have been identified in SPOKE, SPOKE did capture direct pathways through known genes involved in inflammation such as IL6 and TNF, and we also observed MS4A6A as being highly associated with measurements of immune cells in the blood. Further studies will be needed to validate the exact associative mechanism between osteoporosis and AD, although some prior hypotheses suggest the potential impact of genetic variants on osteoclast function, amyloid clearance or oxidative stress response80,81. While we utilized knowledge networks to leverage knowledge to explain relationships between groups of predictors, we performed hypothesis-driven analysis on independent EHRs and genetics to further explore and validate a few chosen predictors (HLD and osteoporosis) with AD. Hypothesis-driven approaches can be applied to any other selected predictor or phenotype identified by the models to understand their relationships with AD onset that may not yet be represented by the knowledge graphs.

This study has several limitations. First, EHR data complexity and quality can affect prediction models, and it is challenging to distinguish the influence of clinician/patient behavior, sociological factors or underlying biology on identification of features. Matching can improve interpretability by removing the influence of non-biological covariates, but follow-up validation of hypotheses across omics data types is needed. Due to changing patient demographics and societal factors, prediction models should be continuously trained, updated and evaluated if implemented in the clinical setting to ensure effective utilization and account for biases that may have been learned from the data. Model utilization should investigate the impact of cohort selection biases and matching methods on model generalizability, and model retraining and calibration should be a continual aspect of model application to account for possible data drifts and changing clinical practice approaches that would arise in the future. Second, clinical EHR data are sometimes sparse and provide a superficial interval snapshot of a patient’s health, so the absence of a record may not necessarily reflect the absence of a condition and prior health information may not be available in the EHR. Therefore, the EHR provides a representation of an interval of a patient’s health history and is more likely to pick up diagnosis of chronic or common conditions, as well as common drugs or measurements. Future work can investigate the impact of variations in data representation that can account for data sparsity, continuous laboratory result outcomes, and best temporal assignment of diagnosis onset beyond binary representation or considering drug prescriptions for assignment of diagnoses. Third, survival models have extensive right censorship and do not consider competing risks. Fourth, because AD is heterogeneous and differential diagnosis is nuanced and subjective even in expert hands, predictive performance can be limited by label quality and the signal from clinical features can be noisy, limiting performance and generalizability. Future work investigating heterogeneity may identify subgroup-specific features where subgroups can be divided based on biotype, dementia syndromes, racialization, and so on. Future applications with hierarchical models, transfer learning or fine-tuning on a subpopulation can increase personalization of models. Fifth, our sex-stratified analysis was restricted to individuals who identified as female or male. Future studies could explore AD patterns among intersex individuals. Lastly, predictive features identified are relevant before AD onset, and future work is needed to identify diagnostic-relevant AD comorbidities, or conditions that can occur after AD progression. Because predictive features are identified as hypotheses, the direct mechanism and causal pathway relating a phenotype to AD are unknown. Future work can investigate causality with Mendelian randomization or mechanistic studies.

In this study, we demonstrate how formulation of prediction models can influence utility for predictive application or biological interpretation. We show how models can be used to identify early predictors, and utilize SPOKE to explain relationships via shared biological associations. Lastly, we show that our models can pick up known associations with HLD through APOE, and identify a lesser-known association with osteoporosis through MS4A6A that may be female specific. This study contributes to the field of EHR integrative research that can inform future directions in both AD care and research.

Methods

Ethical approval

This study complies with all relevant ethical regulations and is approved by the Institutional Review Board of UCSF (IRB 20-32422).

Participant identification

Individuals with AD were identified based on UCSF Memory and Aging Center database containing over 9,000 participants mapped to the UCSF OMOP-format EHR. These individuals have undergone dementia evaluation at the Memory and Aging Center and thus had expert-level clinical diagnoses. In clinical settings, since AD is often a syndromic diagnosis indicating general dementia for memory or cognitive concerns8284, we aimed to identify a highly accurate cohort diagnosed by neurodegeneration specialists to obtain an AD diagnosis that is closer to the biological ground truth85. The remaining control participants were obtained from the rest of the UCSF EHR, with over 1 year of records and no existing records of dementia diagnosis among the G[123]* International Classification of Diseases 10th Revision (ICD-10) categories (Supplementary Table 1). These controls include patients seen at the UCSF Memory and Aging Center with EHR data, but without a dementia diagnosis given.

To best build models for prediction of AD onset, an index time was determined to identify input model features before first clinical indication of dementia. This was defined among the AD cohort as the first time of any AD diagnosis, dementia diagnosis or prescription of cognitive drug (ATC codes N06D; Supplementary Table 2) to be the first time point of possible biological AD manifestation. This approach was utilized because individuals with AD may be prescribed an anticholinesterase inhibitor or given an alternative dementia diagnosis before a formal confirmation of an AD diagnosis. For controls, the index time was defined as 1 year before the last recorded visit date, with no dementia diagnosis given within that year. To maintain a consistent patient population for training and evaluation of ML models, the final AD and control cohort was identified by including participants who are at least 55 years of age at the index time and have existing clinical visits and concepts 7 years before the index time. These participants were then split into 70% for model training and tuning, while the remaining 30% were held-out for model evaluation (Extended Data Fig. 1). For sex stratification, we utilized sex as reported in the UCSF EHR (male, female), excluding nonbinary and other categories due to low sample size, as a proxy for representing sex as a biological variable.

Data extraction and preparation

Demographics (birth year, gender, race and ethnicity), clinical concepts (conditions, drug exposures, abnormal measures) and visit-related features (age at prediction, first visit age, years in UCSF EHR) were extracted before the index time for the AD and control cohort from the UCSF OMOP EHR database. Race and ethnicity is a single variable derived from an algorithm developed by the UCSF Data Equity Taskforce to codify aggregated sociopolitical categorizations based on EHR self-reported identifiers86. To train models in advance of the index time, clinical information was extracted for each participant including all clinical data up to a time point X before the index time, where X includes −7 years, −5 years, −3 years, −1 year and −1 day. These time points represent the knowledge of a participant’s clinical history leading up to time X before time. All existing clinical features (conditions, drug exposures, abnormal measurements) were one-hot encoded. Abnormal measures were extracted from the OMOP measurement table based on the numeric value falling either above range_high or below range_low, and abnormal measures were binary encoded based on abnormal flagging, following the approach from ref. 29. If a clinical feature did not exist or if the clinical measure was within normal range, the encoding is represented as a 0 and therefore assumed to be normal. As the UCSF database only captures an interval of a participant’s interaction with the healthcare system, prior non-chronic conditions may not be captured within the EHR.

Demographic and visit-related features (prediction age, first visit age, years in UCSF EHR, log(number prior visits), log(number prior concepts), log(days since first clinical event)) were scaled between 0 and 1 on the training data, where log indicates natural logarithm and feature scaling allows for multiple ML model approaches. Age at prediction is defined at the age of the participant at which the model is applied (for example, if a participant index time is at age 70, then the age of prediction for the −5-year model is 65). All features with no variance were removed for each model, with the total number of features ranging from 5,211 features (−7-year model on matched cohorts) to 23,760 features (−1-day models on unmatched cohorts). Information about input features, specific OMOP concepts and select top feature prevalences can be found in Supplementary Data 1.

ML preparation and training

Binary classification time point models for AD were trained using the participant representation at each time point before the index time. We divided the data into two sets—70% for model creation and 30% for evaluation. Training and optimal model selection (with hyperparameter tuning) was performed on the 70% split with cross-validation, and 30% was held out for evaluation and not seen during model training and selection in any way. Final selected model evaluation was performed on the 30% held-out evaluation set as the common dataset to obtain and compare the performance of all final models (diagram in Supplementary Fig. 1). Models were trained with clinical features only (clinical model) and with clinical features plus demographics and visit-related information (clinical plus demographics/visits model). Models were also trained on samples matched by demographics and hospital utilization to account for biases and confounding in prediction. In these models, control participants were matched to individuals with AD at a 1:8 ratio on demographics (birth year, race and ethnicity, sex) and visit-related features (age, first visit age, years in EHR, log(number of prior visits), log(number of prior concepts), log(days since first clinical event)) utilizing propensity score matching87 (propensity score estimated based upon a logistic regression model, nearest-neighbor matching without replacement). While propensity score is often utilized to balance treatment probabilities in cohort studies, it has also been utilized for sample selection88,89, exposure likelihood90 or for outcome-based case–control studies7,91.

RF models were primarily utilized for both predictive performance and interpretability that take into account the high collinearity between clinical variables. RF models were trained using the scikit-learn package92, with balanced class weight parameter. Hyper-parameters were tuned (grid search) based on cross-validation performance (5-fold) of AUROC on the 70% model training set to determine parameters of n_estimators (n_features, n_features × 2, n_features × 3), max_depth (3, 5, 7, 9) and max_features (sqrt, log2). The number of estimators and maximum depth were tuned to balance between performance and overfitting, while a subset of features (max_features) was utilized per tree to help account for high correlation between features93,94. Models were evaluated on bootstrapped subsamples (300 iterations, 1,000 samples) of the 30% held-out evaluation set to determine AUROC and AUPRC for model comparability. Balanced accuracy scores were also computed on the 30% held-out evaluation set. An elastic net logistic regression model was also trained on both the full and matched cohorts for comparison. We performed a permutation test on the −1-day matched cohort model to determine the significance of AUROC compared to a null distribution of AUROC scores of models trained from permuted ground truth labels (40 permutations) to determine the extent to which clinical features can be predictive of AD.

Stratification

Both models for full participant cohorts and matched cohorts were re-performed in sex strata using the same method based upon sex reported in the UCSF EHR to augment the OMOP database. Models were trained on two sex subgroups—female and male—due to lack of other subgroups labeled in the EHR. For each stratum, individuals with AD were re-matched to controls within each stratum for the matched participant trained models. Models were evaluated similarly based on AUROC/AUPRC on the same bootstrapped held-out evaluation set, stratified by sex.

Top feature interpretation

RF models were investigated for feature interpretation due to the combined interpretable nature of the models (compared to neural networks) and the ability to capture nonlinear relationships (compared to logistic regression models)95. Average gini impurity decrease for each feature was utilized to evaluate the importance of each feature in the RF models (feature importance). The average importance for each feature was taken across each time point model (−7 years, −5 years, −3 years, −1 year and −1 day) to obtain an across-model importance for each model type, and normalized by the maximum importance value across all time point models within each model type (for example, RF) and group (for example, female strata). Feature importances were then ranked within each model to obtain relative importance within each of the time points.

As a patient’s exposure to a medication or a laboratory test is often a result of a diagnosis, we pursued interpretability based on diagnostic features that have been mapped to phecodes, which is a semi-manual hierarchical aggregation of meaningful EHR phenotypes31. This allows for a lossy categorization of detailed OMOP features (OMOP IDs) to phecodes (OMOP ID → SNOMED → ICD-10 → phecode) and phecode category. SNOMED IDs were mapped to ICD-10 based upon recommended rule-based mappings from the National Library of Medicine September 2022 release (https://www.nlm.nih.gov/healthit/snomedct/us_edition.html). ICD-10 codes were then mapped to phecodes based on the release from ref. 96. To obtain the importance within each phecode or phecode category, the average importance for the top five detailed OMOP features per phecode or phecode category was computed, and ranked between phecodes or categories. For phecodes across all models and sex-stratified models, the ranking of importance of phecodes across each time model was hierarchically clustered with Ward linkage.

To compare top phecodes between sex-stratified models to identify sex-specific features, top RF features over an average importance threshold of 1 × 10−6 were identified per time model trained on matched participants. Upset plots were then generated for each time point based upon this overlap. Female-driven features were defined as features that exist in both the full model and female models, or only female models, and male-driven features were defined analogously.

UC-wide validation analysis with hypothesis-driven retrospective cohort analysis

Two top clinical features were selected from the matched all-participant model (HLD) and matched sex-specific models (osteoporosis) and further followed up on an external EHR database to validate the feature as predictive and conferring risk for AD diagnosis. With these features defined as exposures, hypothesis-driven analysis was performed with a retrospective cohort study design on the University of California hospital EHR database (UCDDP) with exclusion of any patients seen at UCSF, so with included institutions consisting of UC Davis, UC Los Angeles, UC Riverside, UC San Diego and UC Irvine. Exposed participants were identified with the exposure (HLD or osteoporosis), which were identified by string-matching and mapping to all descendants or related concepts based on the OMOP relationship tables, and final SNOMED codes are shown in Supplementary Tables 6 and 7. Controls were identified among the remaining participants. Recruitment age was defined as the age of exposure diagnosis (for exposed cohort) or the first visit age in the visit_occurrence table (for unexposed or control cohort), which was then matched to represent the start of the cohort study timeline. All participants were then filtered to have at least 2 years of records in the EHR, and last visit age was utilized for right censorship.

The outcome of interest was AD diagnosis, which was identified based on SNOMED codes 26929004, 416780008 and 416975007 (Supplementary Table 5). Exposed and control (unexposed) groups were then matched based on demographics (gender, race and ethnicity), birth year and recruitment age (propensity score estimated based upon a logistic regression model, nearest-neighbor matching without replacement). We utilized the gender_id column to identify sex, as the standard documentation intend for this column to represent biological sex (https://ohdsi.org/web/wiki/doku.php?id=documentation:vocabulary:gender/). Note that only two options exist (female concept_id = 8532 and male concept_id = 8507), and that accurate sex and gender information may be limited depending on the institution or EHR collection of sex information.

Analysis of time to AD diagnosis includes utilization of Kaplan–Meier survival curves fitted with 95% CIs and two-sided log-rank test to compare survival curves between groups. Sex-stratified curves were also fitted. Cox proportional hazard models were utilized to obtain unadjusted HRs and aHRs by demographics and/or visit information, with and without stratification by recruitment age or birth year, and with 95% CIs.

Heterogeneous network analysis

Heterogeneous knowledge networks, such as SPOKE, integrate known relationships across biological and phenotypic data realms in databases and literature. Such a network could provide hypotheses to explain relationships between groups of phenotypes that may not be immediately known23,28. We proceeded with interpretation on the matched models, with the top 25 model features taken for each time point and mapped to SPOKE nodes based on ref. 29. Note that mappings may not be 1 to 1. All shortest paths were then computed from each input node to the AD node (DOID: 10652), and the shortest paths were filtered to exclude certain node types (Anatomy, SideEffect, AnatomyCellType,Nutrient) and edges (CONTRAINDICATES_CcD, CAUSES_CcSE, LOCALIZES_DlA, ISA_AiA, PARTOF_ApA, RESEMBLES_DrD). Edges were also filtered based on the following criteria: TREATS_CtD at least phase 3 clinical trial, UPREGULATES_KGuG/ DOWNREGULATES_KGdG P value at most 1 × 10−4, PRESENTS DpS enrichment at least 5 and Fisher P value at most 1 × 10−4.

If multiple detailed OMOP features map to the same node, the importance of the node was obtained by the average of OMOP feature importances. Networks for all time models were combined into a single network (union of nodes and edges), and total node importance was determined by the maximum across time. Network metrics were then computed with the Cytoscape ‘Network Analyzer’ function97. The combined time model networks were then sorted by eccentricity metric on the x axis (representing maximum distance to all other nodes, with the lower number representing higher importance) and the number of individual time model network occurrences in the y axis (showing node importance persistence across time). With this layout, highly traversed nodes in the shortest paths between multiple EHR informed top model features and AD can be identified and prioritized for hypothesis generation and further investigation. Note that due to the heterogeneous nature of edges and lack of edge weighting, distances in the figures are not meaningful.

To focus on two selected features for the full matched model (HLD) and the female-specific matched model (osteoporosis), the combined network was filtered based on first-degree and second-degree neighbors of the starting feature of interest. This allows for visualization of associated genes and AD, as well as relationships with other top model features found from the clinical models.

Validation with genetic datasets

We further explored the association between clinical predictors and AD by identifying shared genetic loci between top model phenotypes and AD, based on colocalization probability and weighted evidence association scores computed from Open Targets Genetics98,99 (https://genetics.opentargets.org/). Colocalization analysis is a method that determines if two independent signals at a locus share a causal variant, which helps increase the evidence that the two traits (for example, HLD and AD, or protein expression and AD) also share a causal mechanism. It is a Bayesian method which, for two traits, integrates evidence over all variants at a single locus to evaluate the following hypothesis that two associated traits share a causal variant. This is the H4 probability.

We first identified shared loci between the selected phenotypes (HLD or osteoporosis) and AD by identifying the genetic intersection between AD and related phenotypes in Open Targets Genetics.

For HLD and AD, we utilized the Open Targets Genetics platform to identify overlapping variants and shared loci between LDL cholesterol and family history of AD or phenotype AD (https://genetics.opentargets.org/study-comparison/GCST002222?studyIds=GCST90012878/). PheWAS between a shared genetic variant and UK Biobank phenotypes were plotted and extracted from the Open Targets Genetics platform. Colocalization analysis tables between the gene, molecular RNA or protein expression, and phenotypes were extracted, with apolipoprotein E protein QTL for APOE gene specifically identified based on blood plasma quantity data from refs. 100,101.

Similarly for osteoporosis and AD, we utilized the Open Genetics platform to identify shared loci between HBMD (proxy for osteoporosis) and family history of AD or phenotype AD (https://genetics.opentargets.org/study-comparison/GCST006979?studyIds=GCST90012877/). To further investigate the shared locus, we extracted GWAS summary statistics from ref. 35 for AD and sex-stratified GWAS summary statistics for low HBMD from Neale’s Lab GWAS round 2, phenotype code: 3148, based on data from the UK Biobank (www.nealelab.is/uk-biobank/)102. We then conducted colocalization analysis using the coloc method described in ref. 103, from R package coloc 5.1.0. Summary statistics for MS4A6A cis-eQTL in blood were extracted from eQTLGen104, and colocalization analysis was performed between AD, sex-stratified low HBMD and MS4A6A eQTL on the locus region 60050000–60200000 of chromosome 11 (locus image from NCBI Genome Data Viewer). To investigate further associations with the locus, MS4A6A associations with all other phenotypes were extracted from Open Targets Genetics platform with inclusion of weighted literature evidence association scores.

Statistics and reproducibility

All analyses were performed on datasets where data collection was completed previously. While randomization is not possible in observational datasets like the EHR, we used propensity score matching, an approach in causal inference to match by probability of group membership, to enable identification of matching case and control groups and mimic randomization. Quality of matching can be assessed with standardized mean difference of relevant covariates. Blinding is not applicable to this study. Inclusion and exclusion of participants are described in the above sections and summarized in Fig. 1b to ensure specificity of groups and observed time frames. No further data were excluded from analyses.

No statistical method was utilized to predetermine sample size. For all statistical analysis, non-parametric tests were used if normality is not assumed about the data distribution, otherwise normal distribution was assumed but not formally tested.

Reporting summary

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

Supplementary information

Supplementary Information (393.9KB, pdf)

Legends for Supplementary Tables 1–4 and Supplementary Tables 5–9

Reporting Summary (1.7MB, pdf)
Supplementary Data 1 (6.5MB, xlsx)

Excel file with information regarding model inputs, model importances, top condition prevalences and raw data for molecular validation. The ‘model input’ tabs lists the number of input features per model (OMOP concepts or other), and a description of demographic or visit-related features. The ‘top model importance’ tab lists the top 50 trained random forest model importance values, full and matched, and sex-stratified models, with the mapped phecodes. The ‘top feature prevalences’ tab shows the prevalence of some of the top conditions utilized in prediction. ‘SexModelTopFeatOverlap’ shows top features over importance threshold of 1 × 10−6 for the sex-specific models across time, and extent of overlap between models relevant for the upset plot. The sheets starting with ‘rf’ list all model inputs and associated OMOP concept_ids (m: matched cohorts utilized, dv: demographic and visit-related features added, −7/−5/−3/−1/0: years before AD onset for prediction with 0 representing the −1-day model). The ‘rs2075650_PheWAS’ tab shows original P value and source of study for the PheWAS figure associated with the variant. The ‘APOE_pQTL_coloc’ tab shows Open Target colocalization query results for APOE with phenotype traits and blood protein expression.

Supplementary Table 1 (589.5KB, csv)

List of mappings from ICD-10 codes G[123]* to OMOP codes for determining exclusion of controls. The mapping was generated and manually reviewed to create a white-list of certain codes and approve exclusion of dementia-related codes.

Supplementary Table 2 (25.8KB, csv)

List of mappings from dementia/frontotemporal disorder-related condition concepts to SNOMED OMOP mappings and N06D ATC code to RxNorm OMOP mappings for identifying index time 0 for individuals with AD.

Supplementary Table 3 (20.8KB, xlsx)

Demographics of matched cohorts (propensity score matched by demographics and visit-related factors; Methods) on the training set for matched cohort models.

Supplementary Table 4 (25.4KB, xlsx)

Demographics of male and female cohorts (combined train and test set). The same patients for train/test set split in the general model are utilized for the sex-stratified models. Matched cohorts on the sex-strata training sets are also shown for the sex-specific matched cohort models.

Acknowledgements

Primary support was provided by grant number NIA R01AG060393 (to A.S.T., S.M., S.W., T.T.O. and M.S.). Additional support was provided by the Medical Scientist Training Program T32GM007618 and F30 Fellowship 1F30AG079504-01 (to A.S.T.) and NSF GRFP 2038436 (to J.R.). Support for the UCSF MAC/ADRC was provided by grant NIA P30-AG062422. S.B. holds the Heidrich Family and Friends Endowed Chair of Neurology at UCSF. S.B. holds the Distinguished Professorship in Neurology I at UCSF. R.B. is the recipient of a National Multiple Sclerosis Society Harry Weaver Award and is supported by the NIH, NMSS, NSF, DOD, UCSF Weill Institute for Neurosciences and by various foundations. N.A. is supported by the Alfred E. Mann Foundation and NIH grants R35GM138353 and RF1AG077443. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

We thank everyone in the laboratory of M.S. for their help and feedback on the analysis approaches and figures. We thank the Information Commons and Research Analytics Environment teams for access and support with the UCSF EHR data. We thank the SPOKE development team and the UCSF Resource for Biocomputing, Visualization and Informatics for support in knowledge graph access and maintenance. We acknowledge the use of resources developed and supported by the UCSF IT Academic Research Systems and the UCSF Bakar Computational Health Sciences Institute Information Commons groups, and we thank all members of these groups for technical support. We also thank the Center for Data-driven Insights and Innovation at UC Health (CDI2), for its analytical and technical support related to use of the UC Health Data Warehouse. We acknowledge ML expertise advice from E. Davydov and C. Tsai.

Extended data

Author contributions

A.S.T., K.R. and M.S. developed and directed the entire project. A.S.T., K.R., J.R., H.M., T.T.O., B.Z., C.N., K.S., M.G., I.E.A. and M.S. aided in the study design approach regarding cohort selection, control selections and time frame selection. A.S.T. and K.R. acquired the data and executed selection approaches, and K.R. reviewed diagnostic codes for selection. A.S.T., J.R., H.M., C.N., S.W. and A.L. aided in EHR data preprocessing. A.S.T., K.R., J.R., H.M., C.N., K.S. and S.W. aided in the design of predictive modeling and evaluation. A.S.T. executed all aspects of data acquisition, preprocessing, model implementation, model evaluation and model feature importance analysis. A.S.T., K.R., G.C., S.M., T.T.O., B.Z., C.N., S.W., Y.L., M.G., I.E.A., Z.M. and M.S. contributed to the interpretation of predictive models, with statistical insight from M.G. and I.E.A., and clinical insight from K.R. and Z.M. A.S.T., K.R., J.R., S.M., S.W., Y.L., M.G. and I.E.A. aided in the design of the study for external EHR validation and survival analysis. G.C., C.N., K.S. and S.B. aided in access and utilization of the SPOKE knowledge graph. A.S.T., K.P.R., G.C., R.B., C.N., S.B., S.J.S. and M.S. aided in approaches for knowledge network interpretation and genetic validation. G.C. and A.S.T. executed the genetic analysis, with input from C.N., S.J.S., S.B. and M.S. A.S.T. generated the figures and tables with help from H.M. and G.C. A.S.T. prepared and wrote the manuscript, with inputs from all the authors. All authors read and approved the final manuscript, with help from N.A. for ML expertise and manuscript revisions.

Peer review

Peer review information

Nature Aging thanks Jiang Bian, Thomas Nedelec, and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.

Data availability

EHR concepts and identification approaches are described in the Methods, and concepts are derived from the OMOP common data model structure (Supplementary Tables 1 and 2). Model inputs and importances can be found in Supplementary Data 1. Phecodes can be downloaded at https://phewascatalog.org/phecodes_icd10 or https://phewascatalog.org/phecodes, and mappings between ICD-10 codes and SNOMED can be accessed at https://www.nlm.nih.gov/healthit/snomedct/us_edition.html. Data for UK Biobank phenotype GWAS summary statistics can be found at https://www.nealelab.is/uk-biobank/, and eQTL data can be downloaded from https://www.eqtlgen.org/. For the P–P and eQTL plots, documentation for the Open Targets API can be found at https://www.genetics.opentargets.org/api/.

Access to EHR databases and participant-identifiable information are controlled due to the sensitive nature of the data. The UCSF EHR database can be accessed by UCSF-affiliated individuals by contacting UCSF Clinical and Translational Science Institute (ctsi@ucsf.edu) or UCSF’s Information Commons team (info.commons@ucsf.edu). If the reader is unaffiliated with UCSF, they can set up an official collaboration with a UCSF-affiliated investigator by contacting the principal investigator, M.S. Participant data from the UCSF Memory and Aging Center can be requested at https://memory.ucsf.edu/research-trials/professional/open-science/ or through a collaboration with a principal investigator affiliated with the UCSF Memory and Aging Center. Requests should be processed within a couple of weeks. UCDDP is only available to UC researchers who have completed analyses in their respective UC first and have provided justification for scaling their analyses across UC health centers (more details at https://www.ucop.edu/uc-health/departments/center-for-data-driven-insights-and-innovations-cdi2.html or by contacting healthdata@ucop.edu). The SPOKE knowledge network can be accessed at https://spoke.rbvi.ucsf.edu/neighborhood.html. More details about the network can be found in ref. 30 and mappings to EHR concepts can be found in ref. 29.

Code availability

Code for prediction models can be found at https://github.com/al1563/ADprediction_code/. Other code can be made available upon request. Relevant packages include Python scikit-learn version 0.23.2, scipy version 1.2.0, joblib version 1.1.0, lifelines version 0.27.4, tableone version 0.7.12 and R coloc version 5.1.0.

Competing interests

Unrelated to the work described in this manuscript, R.B. has received research support from F Hoffmann-La Roche, Novartis and Biogen and has received personal support for consulting and/or scientific advisory boards from Alexion, EMD Serono, Horizon, Jansen and TG Therapeutics. Also unrelated to the work, K.P.R. has served on a medical advisory board for Eli Lily. S.B. is co-founder of Mate Bioservices. J.R. has previously interned at Roche. The remaining authors declare no competing interests.

Footnotes

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

Contributor Information

Alice S. Tang, Email: alice.tang@ucsf.edu

Marina Sirota, Email: marina.sirota@ucsf.edu.

Extended data

is available for this paper at 10.1038/s43587-024-00573-8.

Supplementary information

The online version contains supplementary material available at 10.1038/s43587-024-00573-8.

References

  • 1.2022 Alzheimer’s disease facts and figures. Alzheimers Dement. 18, 700–789 (2022). [DOI] [PubMed]
  • 2.Rasmussen J, Langerman H. Alzheimer’s disease – why we need early diagnosis. Degener. Neurol. Neuromuscul. Dis. 2019;9:123–130. doi: 10.2147/DNND.S228939. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Kivipelto M. Midlife vascular risk factors and Alzheimer’s disease in later life: longitudinal, population based study. BMJ. 2001;322:1447–1451. doi: 10.1136/bmj.322.7300.1447. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Niculescu AB, et al. Blood biomarkers for memory: toward early detection of risk for Alzheimer disease, pharmacogenomics, and repurposed drugs. Mol. Psychiatry. 2020;25:1651–1672. doi: 10.1038/s41380-019-0602-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Savonenko, A. V., Wong, P. C., & Li, T. Alzheimer diseases. In Neurobiology of Brain Disorders: Biological Basis of Neurological and Psychiatric Disorders, 2nd Edition (eds Zigmond, M. .J. et al.) 313–336 (Elsevier, 2023). 10.1016/b978-0-323-85654-6.00022-8
  • 6.Neugroschl J, Wang S. Alzheimer’s disease: diagnosis and treatment across the spectrum of disease severity. Mt. Sinai J. Med. 2011;78:596–612. doi: 10.1002/msj.20279. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Tang AS, et al. Deep phenotyping of Alzheimer’s disease leveraging electronic medical records identifies sex-specific clinical associations. Nat. Commun. 2022;13:675. doi: 10.1038/s41467-022-28273-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Taubes A, et al. Experimental and real-world evidence supporting the computational repurposing of bumetanide for APOE4-related Alzheimer’s disease. Nat. Aging. 2021;1:932–947. doi: 10.1038/s43587-021-00122-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Ben Miled Z, et al. Predicting dementia with routine care EMR data. Artif. Intell. Med. 2020;102:101771. doi: 10.1016/j.artmed.2019.101771. [DOI] [PubMed] [Google Scholar]
  • 10.Tang A, Woldemariam S, Roger J, Sirota M. Translational bioinformatics to enable precision medicine for all: elevating equity across molecular, clinical, and digital realms. Yearb. Med. Inform. 2022;31:106–115. doi: 10.1055/s-0042-1742513. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Xu J, et al. Data-driven discovery of probable Alzheimer’s disease and related dementia subphenotypes using electronic health records. Learn. Health Syst. 2020;4:e10246. doi: 10.1002/lrh2.10246. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Park JH, et al. Machine learning prediction of incidence of Alzheimer’s disease using large-scale administrative health data. NPJ Digit. Med. 2020;3:46. doi: 10.1038/s41746-020-0256-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Qiu S, et al. Multimodal deep learning for Alzheimer’s disease dementia assessment. Nat. Commun. 2022;13:3404. doi: 10.1038/s41467-022-31037-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Li Q, et al. Early prediction of Alzheimer’s disease and related dementias using real-world electronic health records. Alzheimers Dement. 2023;19:3506–3518. doi: 10.1002/alz.12967. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Walling AM, Pevnick J, Bennett AV, Vydiswaran VGV, Ritchie CS. Dementia and electronic health record phenotypes: a scoping review of available phenotypes and opportunities for future research. J. Am. Med. Inform. Assoc. 2023;30:1333–1348. doi: 10.1093/jamia/ocad086. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Diogo VS, Ferreira HA, Prata D, for the Alzheimer’s Disease Neuroimaging Initiative. Early diagnosis of Alzheimer’s disease using machine learning: a multi-diagnostic, generalizable approach. Alzheimers Res. Ther. 2022;14:107. doi: 10.1186/s13195-022-01047-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Ding Y, et al. A deep learning model to predict a diagnosis of Alzheimer disease by using 18 F-FDG PET of the brain. Radiology. 2019;290:456–464. doi: 10.1148/radiol.2018180958. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Popuri K, Ma D, Wang L, Beg MF. Using machine learning to quantify structural MRI neurodegeneration patterns of Alzheimer’s disease into dementia score: Independent validation on 8,834 images from ADNI, AIBL, OASIS, and MIRIAD databases. Hum. Brain Mapp. 2020;41:4127–4147. doi: 10.1002/hbm.25115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Chang C-H, Lin C-H, Lane H-Y. Machine learning and novel biomarkers for the diagnosis of Alzheimer’s disease. Int. J. Mol. Sci. 2021;22:2761. doi: 10.3390/ijms22052761. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Stamate D, et al. A metabolite‐based machine learning approach to diagnose Alzheimer‐type dementia in blood: results from the European Medical Information Framework for Alzheimer disease biomarker discovery cohort. Alzheimers Dement. 2019;5:933–938. doi: 10.1016/j.trci.2019.11.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Dubal, D. B. Sex difference in Alzheimer’s disease: an updated, balanced and emerging perspective on differing vulnerabilities. in Handbook of Clinical Neurology, Vol. 175 (eds. R. Lanzenberger et al.) 261–273 (Elsevier, 2020). [DOI] [PubMed]
  • 22.Hampel H, et al. Precision medicine and drug development in Alzheimer’s disease: the importance of sexual dimorphism and patient stratification. Front. Neuroendocrinol. 2018;50:31–51. doi: 10.1016/j.yfrne.2018.06.001. [DOI] [PubMed] [Google Scholar]
  • 23.Nelson CA, Bove R, Butte AJ, Baranzini SE. Embedding electronic health records onto a knowledge network recognizes prodromal features of multiple sclerosis and predicts diagnosis. J. Am. Med. Inform. Assoc. 2022;29:424–434. doi: 10.1093/jamia/ocab270. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Belonwu SA, et al. Sex-stratified single-cell RNA-seq analysis identifies sex-specific and cell type-specific transcriptional responses in Alzheimer’s disease across two brain regions. Mol. Neurobiol. 2021 doi: 10.1007/s12035-021-02591-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Saura CA, Deprada A, Capilla-López MD, Parra-Damas A. Revealing cell vulnerability in Alzheimer’s disease by single-cell transcriptomics. Semin. Cell Dev. Biol. 2022 doi: 10.1016/j.semcdb.2022.05.007. [DOI] [PubMed] [Google Scholar]
  • 26.Leonenko G, et al. Polygenic risk and hazard scores for Alzheimer’s disease prediction. Ann. Clin. Transl. Neurol. 2019;6:456–465. doi: 10.1002/acn3.716. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Alzheimer’s Disease Neuroimaging Initiative & Kim Y. et al. Multimodal phenotyping of Alzheimer’s disease with longitudinal magnetic resonance imaging and cognitive function data. Sci Rep.10, 5527 (2020). [DOI] [PMC free article] [PubMed]
  • 28.Himmelstein DS, et al. Systematic integration of biomedical knowledge prioritizes drugs for repurposing. eLife. 2017;6:e26726. doi: 10.7554/eLife.26726. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Nelson CA, Butte AJ, Baranzini SE. Integrating biomedical research and electronic health records to create knowledge-based biologically meaningful machine-readable embeddings. Nat. Commun. 2019;10:3045. doi: 10.1038/s41467-019-11069-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Morris JH, et al. The scalable precision medicine open knowledge engine (SPOKE): a massive knowledge graph of biomedical information. Bioinformatics. 2023;39:btad080. doi: 10.1093/bioinformatics/btad080. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Bastarache L. Using phecodes for research with the electronic health record: from PheWAS to PheRS. Annu. Rev. Biomed. Data Sci. 2021;4:1–19. doi: 10.1146/annurev-biodatasci-122320-112352. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Schwartzentruber J, et al. Genome-wide meta-analysis, fine-mapping and integrative prioritization implicate new Alzheimer’s disease risk genes. Nat. Genet. 2021;53:392–402. doi: 10.1038/s41588-020-00776-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Global Lipids Genetics Consortium Discovery and refinement of loci associated with lipid levels. Nat. Genet. 2013;45:1274–1283. doi: 10.1038/ng.2797. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Morris JA, et al. An atlas of genetic influences on osteoporosis in humans and mice. Nat. Genet. 2019;51:258–266. doi: 10.1038/s41588-018-0302-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Jansen WJ, et al. Association of cerebral amyloid-beta aggregation with cognitive functioning in persons without dementia. JAMA Psychiatry. 2018;75:84–95. doi: 10.1001/jamapsychiatry.2017.3391. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Yagis E, et al. Effect of data leakage in brain MRI classification using 2D convolutional neural networks. Sci Rep. 2021;11:22544. doi: 10.1038/s41598-021-01681-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.You J, et al. Development of a novel dementia risk prediction model in the general population: a large, longitudinal, population-based machine-learning study. EClinicalMedicine. 2022;53:101665. doi: 10.1016/j.eclinm.2022.101665. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Littlejohns TJ, et al. Vitamin D and the risk of dementia and Alzheimer disease. Neurology. 2014;83:920–928. doi: 10.1212/WNL.0000000000000755. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Elbejjani M, et al. Depression, depressive symptoms, and rate of hippocampal atrophy in a longitudinal cohort of older men and women. Psychol. Med. 2015;45:1931–1944. doi: 10.1017/S0033291714003055. [DOI] [PubMed] [Google Scholar]
  • 40.Goveas JS, Espeland MA, Woods NF, Wassertheil-Smoller S, Kotchen JM. Depressive symptoms and incidence of mild cognitive impairment and probable dementia in elderly women: The Women’s Health Initiative Memory Study: depression and incident MCI and dementia. J. Am. Geriatr. Soc. 2011;59:57–66. doi: 10.1111/j.1532-5415.2010.03233.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Swerdlow RH. Is aging part of Alzheimer’s disease, or is Alzheimer’s disease part of aging? Neurobiol. Aging. 2007;28:1465–1480. doi: 10.1016/j.neurobiolaging.2006.06.021. [DOI] [PubMed] [Google Scholar]
  • 42.Kosyreva AM, Sentyabreva AV, Tsvetkov IS, Makarova OV. Alzheimer’s disease and inflammaging. Brain Sci. 2022;12:1237. doi: 10.3390/brainsci12091237. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Wallace LMK, et al. Investigation of frailty as a moderator of the relationship between neuropathology and dementia in Alzheimer’s disease: a cross-sectional analysis of data from the Rush Memory and Aging Project. Lancet Neurol. 2019;18:177–184. doi: 10.1016/S1474-4422(18)30371-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Kojima G, Taniguchi Y, Iliffe S, Walters K. Frailty as a predictor of Alzheimer disease, vascular dementia, and all dementia among community-dwelling older people: a systematic review and meta-analysis. J. Am. Med. Dir. Assoc. 2016;17:881–888. doi: 10.1016/j.jamda.2016.05.013. [DOI] [PubMed] [Google Scholar]
  • 45.Wallace L, Theou O, Rockwood K, Andrew MK. Relationship between frailty and Alzheimer’s disease biomarkers: a scoping review. Alzheimers Dement. 2018;10:394–401. doi: 10.1016/j.dadm.2018.05.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Barnes LL, et al. Sex differences in the clinical manifestations of alzheimer disease pathology. Arch. Gen. Psychiatry. 2005;62:685–691. doi: 10.1001/archpsyc.62.6.685. [DOI] [PubMed] [Google Scholar]
  • 47.Davis EJ, et al. Sex-specific association of the X chromosome with cognitive change and tau pathology in aging and Alzheimer disease. JAMA Neurol. 2021 doi: 10.1001/jamaneurol.2021.2806. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Campion D, et al. Early-onset autosomal dominant Alzheimer disease: prevalence, genetic heterogeneity, and mutation spectrum. Am. J. Hum. Genet. 1999;65:664–670. doi: 10.1086/302553. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Liew TM. Subjective cognitive decline, APOE e4 allele, and the risk of neurocognitive disorders: age- and sex-stratified cohort study. Aust. N. Z. J. Psychiatry. 2022 doi: 10.1177/00048674221079217. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.He Z, et al. Genome-wide analysis of common and rare variants via multiple knockoffs at biobank scale, with an application to Alzheimer disease genetics. Am. J. Hum. Genet. 2021 doi: 10.1016/j.ajhg.2021.10.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Nandar W, Connor JR. HFE gene variants affect iron in the brain. J. Nutr. 2011;141:S729–S739. doi: 10.3945/jn.110.130351. [DOI] [PubMed] [Google Scholar]
  • 52.Wang Z, et al. Deep post-GWAS analysis identifies potential risk genes and risk variants for Alzheimer’s disease, providing new insights into its disease mechanisms. Sci Rep. 2021;11:20511. doi: 10.1038/s41598-021-99352-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Iivonen S, et al. Heparan sulfate proteoglycan 2 polymorphism in Alzheimer’s disease and correlation with neuropathology. Neurosci. Lett. 2003;352:146–150. doi: 10.1016/j.neulet.2003.08.041. [DOI] [PubMed] [Google Scholar]
  • 54.Talwar P, et al. Genomic convergence and network analysis approach to identify candidate genes in Alzheimer’s disease. BMC Genomics. 2014;15:199. doi: 10.1186/1471-2164-15-199. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Talwar P, et al. Validating a genomic convergence and network analysis approach using association analysis of identified candidate genes in alzheimer’s disease. Front. Genet. 2021;12:722221. doi: 10.3389/fgene.2021.722221. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Zhu M, et al. Mutations in the γ-Actin gene (ACTG1) are associated with dominant progressive deafness (DFNA20/26) Am. J. Hum. Genet. 2003;73:1082–1091. doi: 10.1086/379286. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Vasilopoulos Y, Gkretsi V, Armaka M, Aidinis V, Kollias G. Actin cytoskeleton dynamics linked to synovial fibroblast activation as a novel pathogenic principle in TNF-driven arthritis. Ann. Rheum. Dis. 2007;66:iii23–iii28. doi: 10.1136/ard.2007.079822. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Lee W-C, Guntur AR, Long F, Rosen CJ. Energy metabolism of the osteoblast: implications for osteoporosis. Endocr. Rev. 2017;38:255–266. doi: 10.1210/er.2017-00064. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Wang F, Han L, Hu D. Fasting insulin, insulin resistance and risk of hypertension in the general population: a meta-analysis. Clin. Chim. Acta. 2017;464:57–63. doi: 10.1016/j.cca.2016.11.009. [DOI] [PubMed] [Google Scholar]
  • 60.James DE, Stöckli J, Birnbaum MJ. The aetiology and molecular landscape of insulin resistance. Nat. Rev. Mol. Cell Biol. 2021;22:751–771. doi: 10.1038/s41580-021-00390-6. [DOI] [PubMed] [Google Scholar]
  • 61.Schrijvers EMC, et al. Insulin metabolism and the risk of Alzheimer disease: The Rotterdam Study. Neurology. 2010;75:1982–1987. doi: 10.1212/WNL.0b013e3181ffe4f6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Ferreira LSS, Fernandes CS, Vieira MNN, De Felice FG. Insulin resistance in Alzheimer’s disease. Front. Neurosci. 2018;12:830. doi: 10.3389/fnins.2018.00830. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Rahman SO, et al. Association between insulin and Nrf2 signalling pathway in Alzheimer’s disease: a molecular landscape. Life Sci. 2023;328:121899. doi: 10.1016/j.lfs.2023.121899. [DOI] [PubMed] [Google Scholar]
  • 64.Ataie-Ashtiani S, Forbes B. A review of the biosynthesis and structural implications of insulin gene mutations linked to human disease. Cells. 2023;12:1008. doi: 10.3390/cells12071008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Gillespie M, et al. The reactome pathway knowledgebase 2022. Nucleic Acids Res. 2022;50:D687–D692. doi: 10.1093/nar/gkab1028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Bowman GL, Kaye JA, Quinn JF. Dyslipidemia and blood–brain barrier integrity in Alzheimer’s disease. Curr. Gerontol. Geriatr. Res. 2012;2012:184042. doi: 10.1155/2012/184042. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Reitz C. Dyslipidemia and the risk of Alzheimer’s disease. Curr. Atheroscler. Rep. 2013;15:307. doi: 10.1007/s11883-012-0307-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68.Goldstein FC, et al. Effects of hypertension and hypercholesterolemia on cognitive functioning in patients with Alzheimer disease. Alzheimer Dis. Assoc. Disord. 2008;22:336–342. doi: 10.1097/WAD.0b013e318188e80d. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Sáiz-Vazquez O, Puente-Martínez A, Ubillos-Landa S, Pacheco-Bonrostro J, Santabárbara J. Cholesterol and Alzheimer’s disease risk: a meta-meta-analysis. Brain Sci. 2020;10:386. doi: 10.3390/brainsci10060386. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70.Bertram L, Tanzi RE. Genome-wide association studies in Alzheimer’s disease. Hum. Mol. Genet. 2009;18:R137–R145. doi: 10.1093/hmg/ddp406. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71.Corder EH, et al. Gene dose of apolipoprotein E type 4 allele and the risk of Alzheimer’s disease in late onset families. Science. 1993;261:921–923. doi: 10.1126/science.8346443. [DOI] [PubMed] [Google Scholar]
  • 72.Garcia AR, et al. APOE4 is associated with elevated blood lipids and lower levels of innate immune biomarkers in a tropical Amerindian subsistence population. eLife. 2021;10:e68231. doi: 10.7554/eLife.68231. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Mahley RW, Rall SC. Apolipoprotein E: far more than a lipid transport protein. Annu. Rev. Genomics Hum. Genet. 2000;1:507–537. doi: 10.1146/annurev.genom.1.1.507. [DOI] [PubMed] [Google Scholar]
  • 74.Kimura R, et al. Albumin gene encoding free fatty acid and β-amyloid transporter is genetically associated with Alzheimer disease: Albumin gene and Alzheimer’s disease. Psychiatry Clin. Neurosci. 2006;60:S34–S39. doi: 10.1111/j.1440-1819.2006.01525.x-i1. [DOI] [Google Scholar]
  • 75.Lv X-L, et al. Association between osteoporosis, bone mineral density levels and alzheimer’s disease: a systematic review and meta-analysis. Int. J. Gerontol. 2018;12:76–83. doi: 10.1016/j.ijge.2018.03.007. [DOI] [Google Scholar]
  • 76.Amouzougan A, et al. High prevalence of dementia in women with osteoporosis. Joint Bone Spine. 2017;84:611–614. doi: 10.1016/j.jbspin.2016.08.002. [DOI] [PubMed] [Google Scholar]
  • 77.Liu Y, Jin G, Wang X, Dong Y, Ding F. Identification of new genes and loci associated with bone mineral density based on mendelian randomization. Front. Genet. 2021;12:728563. doi: 10.3389/fgene.2021.728563. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78.Fan CC, et al. Sex-dependent autosomal effects on clinical progression of Alzheimer’s disease. Brain. 2020;143:2272–2280. doi: 10.1093/brain/awaa164. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79.Deming Y, et al. The MS4A gene cluster is a key modulator of soluble TREM2 and Alzheimer’s disease risk. Sci. Transl. Med. 2019;11:eaau2291. doi: 10.1126/scitranslmed.aau2291. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80.Chen Y-H, Lo RY. Alzheimer’s disease and osteoporosis. Ci Ji Yi Xue Za Zhi. 2017;29:138–142. doi: 10.4103/tcmj.tcmj_54_17. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 81.Li S, Liu B, Zhang L, Rong L. Amyloid beta peptide is elevated in osteoporotic bone tissues and enhances osteoclast function. Bone. 2014;61:164–175. doi: 10.1016/j.bone.2014.01.010. [DOI] [PubMed] [Google Scholar]
  • 82.Gale SA, et al. Preclinical Alzheimer disease and the electronic health record: balancing confidentiality and care. Neurology. 2022;99:987–994. doi: 10.1212/WNL.0000000000201347. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 83.Serrano-Pozo A, et al. Mild to moderate Alzheimer dementia with insufficient neuropathological changes. Ann. Neurol. 2014;75:597–601. doi: 10.1002/ana.24125. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 84.Nelson PT, et al. Alzheimer’s disease is not ‘brain aging’: neuropathological, genetic, and epidemiological human studies. Acta Neuropathol. 2011;121:571–587. doi: 10.1007/s00401-011-0826-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 85.Jack CR, et al. NIA-AA Research Framework: toward a biological definition of Alzheimer’s disease. Alzheimers Dement. 2018;14:535–562. doi: 10.1016/j.jalz.2018.02.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 86.Data Equity Taskforce sponsored by the Health Equity Council at UCSF Health. UCSF Health’s equity-related variables user’s guide. (2021).
  • 87.Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behav. Res. 2011;46:399–424. doi: 10.1080/00273171.2011.568786. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 88.Karlin L, et al. Use of the propensity score matching method to reduce recruitment bias in observational studies: application to the estimation of survival benefit of non-myeloablative allogeneic transplantation in patients with multiple myeloma relapsing after a first autologous transplantation. Blood. 2008;112:1133. doi: 10.1182/blood.V112.11.1133.1133. [DOI] [Google Scholar]
  • 89.Tipton E, et al. Sample selection in randomized experiments: a new method using propensity score stratified sampling. J. Res. Educ. Eff. 2014;7:114–135. [Google Scholar]
  • 90.Bingenheimer JB, Brennan RT, Earls FJ. Firearm violence exposure and serious violent behavior. Science. 2005;308:1323–1326. doi: 10.1126/science.1110096. [DOI] [PubMed] [Google Scholar]
  • 91.Xia Y, et al. Association between dietary patterns and metabolic syndrome in Chinese adults: a propensity score-matched case–control study. Sci Rep. 2016;6:34748. doi: 10.1038/srep34748. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 92.Pedregosa F, et al. Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 2012 doi: 10.48550/ARXIV.1201.0490. [DOI] [Google Scholar]
  • 93.scikit-learn developers. Scikit-learn documentation: random forest parameters. https://scikit-learn.org/stable/modules/ensemble.html#random-forest-parameters
  • 94.Breiman L. Random forests. Mach. Learn. 2001;45:5–32. doi: 10.1023/A:1010933404324. [DOI] [Google Scholar]
  • 95.Azodi CB, Tang J, Shiu S-H. Opening the black box: interpretable machine learning for geneticists. Trends Genet. 2020;36:442–455. doi: 10.1016/j.tig.2020.03.005. [DOI] [PubMed] [Google Scholar]
  • 96.Wu P, et al. Mapping ICD-10 and ICD-10-CM codes to phecodes: workflow development and initial evaluation. JMIR Med. Inform. 2019;7:e14325. doi: 10.2196/14325. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 97.Assenov Y, Ramírez F, Schelhorn S-E, Lengauer T, Albrecht M. Computing topological parameters of biological networks. Bioinformatics. 2008;24:282–284. doi: 10.1093/bioinformatics/btm554. [DOI] [PubMed] [Google Scholar]
  • 98.Ghoussaini M, et al. Open Targets Genetics: systematic identification of trait-associated genes using large-scale genetics and functional genomics. Nucleic Acids Res. 2021;49:D1311–D1320. doi: 10.1093/nar/gkaa840. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 99.Mountjoy E, et al. An open approach to systematically prioritize causal variants and genes at all published human GWAS trait-associated loci. Nat. Genet. 2021;53:1527–1533. doi: 10.1038/s41588-021-00945-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 100.Sun BB, et al. Genomic atlas of the human plasma proteome. Nature. 2018;558:73–79. doi: 10.1038/s41586-018-0175-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 101.Suhre K, et al. Connecting genetic risk to disease end points through the human blood plasma proteome. Nat. Commun. 2017;8:14357. doi: 10.1038/ncomms14357. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 102.Neale Lab. UK Biobank GWAS Round 2. http://www.nealelab.is/uk-biobank/
  • 103.Giambartolomei C, et al. Bayesian test for colocalisation between pairs of genetic association studies using summary statistics. PLoS Genet. 2014;10:e1004383. doi: 10.1371/journal.pgen.1004383. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 104.Võsa U, et al. Large-scale cis- and trans-eQTL analyses identify thousands of genetic loci and polygenic scores that regulate blood gene expression. Nat. Genet. 2021;53:1300–1310. doi: 10.1038/s41588-021-00913-z. [DOI] [PMC free article] [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 (393.9KB, pdf)

Legends for Supplementary Tables 1–4 and Supplementary Tables 5–9

Reporting Summary (1.7MB, pdf)
Supplementary Data 1 (6.5MB, xlsx)

Excel file with information regarding model inputs, model importances, top condition prevalences and raw data for molecular validation. The ‘model input’ tabs lists the number of input features per model (OMOP concepts or other), and a description of demographic or visit-related features. The ‘top model importance’ tab lists the top 50 trained random forest model importance values, full and matched, and sex-stratified models, with the mapped phecodes. The ‘top feature prevalences’ tab shows the prevalence of some of the top conditions utilized in prediction. ‘SexModelTopFeatOverlap’ shows top features over importance threshold of 1 × 10−6 for the sex-specific models across time, and extent of overlap between models relevant for the upset plot. The sheets starting with ‘rf’ list all model inputs and associated OMOP concept_ids (m: matched cohorts utilized, dv: demographic and visit-related features added, −7/−5/−3/−1/0: years before AD onset for prediction with 0 representing the −1-day model). The ‘rs2075650_PheWAS’ tab shows original P value and source of study for the PheWAS figure associated with the variant. The ‘APOE_pQTL_coloc’ tab shows Open Target colocalization query results for APOE with phenotype traits and blood protein expression.

Supplementary Table 1 (589.5KB, csv)

List of mappings from ICD-10 codes G[123]* to OMOP codes for determining exclusion of controls. The mapping was generated and manually reviewed to create a white-list of certain codes and approve exclusion of dementia-related codes.

Supplementary Table 2 (25.8KB, csv)

List of mappings from dementia/frontotemporal disorder-related condition concepts to SNOMED OMOP mappings and N06D ATC code to RxNorm OMOP mappings for identifying index time 0 for individuals with AD.

Supplementary Table 3 (20.8KB, xlsx)

Demographics of matched cohorts (propensity score matched by demographics and visit-related factors; Methods) on the training set for matched cohort models.

Supplementary Table 4 (25.4KB, xlsx)

Demographics of male and female cohorts (combined train and test set). The same patients for train/test set split in the general model are utilized for the sex-stratified models. Matched cohorts on the sex-strata training sets are also shown for the sex-specific matched cohort models.

Data Availability Statement

EHR concepts and identification approaches are described in the Methods, and concepts are derived from the OMOP common data model structure (Supplementary Tables 1 and 2). Model inputs and importances can be found in Supplementary Data 1. Phecodes can be downloaded at https://phewascatalog.org/phecodes_icd10 or https://phewascatalog.org/phecodes, and mappings between ICD-10 codes and SNOMED can be accessed at https://www.nlm.nih.gov/healthit/snomedct/us_edition.html. Data for UK Biobank phenotype GWAS summary statistics can be found at https://www.nealelab.is/uk-biobank/, and eQTL data can be downloaded from https://www.eqtlgen.org/. For the P–P and eQTL plots, documentation for the Open Targets API can be found at https://www.genetics.opentargets.org/api/.

Access to EHR databases and participant-identifiable information are controlled due to the sensitive nature of the data. The UCSF EHR database can be accessed by UCSF-affiliated individuals by contacting UCSF Clinical and Translational Science Institute (ctsi@ucsf.edu) or UCSF’s Information Commons team (info.commons@ucsf.edu). If the reader is unaffiliated with UCSF, they can set up an official collaboration with a UCSF-affiliated investigator by contacting the principal investigator, M.S. Participant data from the UCSF Memory and Aging Center can be requested at https://memory.ucsf.edu/research-trials/professional/open-science/ or through a collaboration with a principal investigator affiliated with the UCSF Memory and Aging Center. Requests should be processed within a couple of weeks. UCDDP is only available to UC researchers who have completed analyses in their respective UC first and have provided justification for scaling their analyses across UC health centers (more details at https://www.ucop.edu/uc-health/departments/center-for-data-driven-insights-and-innovations-cdi2.html or by contacting healthdata@ucop.edu). The SPOKE knowledge network can be accessed at https://spoke.rbvi.ucsf.edu/neighborhood.html. More details about the network can be found in ref. 30 and mappings to EHR concepts can be found in ref. 29.

Code for prediction models can be found at https://github.com/al1563/ADprediction_code/. Other code can be made available upon request. Relevant packages include Python scikit-learn version 0.23.2, scipy version 1.2.0, joblib version 1.1.0, lifelines version 0.27.4, tableone version 0.7.12 and R coloc version 5.1.0.


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

RESOURCES