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). The gene discussed is APOE; the disease is vascular dementia.