There was a significant interaction between APOE ε4 and the association between PRS 1 and 2 for type 2 diabetes and all-cause dementia (Supplementary Table 2) as well as between PRS 1–7 for type 2 diabetes and vascular dementia (Supplementary Table 5). This evidence concerns the gene APOE and dementia.