Furthermore, we found that 39.5% of the association between MedDiet adherence and dementia risk was mediated by a set of metabolites among APOE4 carriers (P = 0.05), whereas no mediation effect was observed among noncarriers or in the full dataset (Methods). This evidence concerns the gene APOE and dementia.