Clusters with score ≥ 10 were used to filter all the drug-associated genes in dementia to finally obtain a total of 45 seed genes—TPI1, NGF, EIF2S1, TOMM40, IL1B, GSK3B, TNF, CD2AP, INPP5D, SNCA, CASP3, PPARG, A2M, HLA-DRA, NTRK2, CALM1, VEGFA, APBB2, IGF1R, PICALM, APP, DNMT1, ENO1, ESR1, HLA-DRB1, NTRK1, SYK, BAX, ADAM10, FERMT2, PTK2B, INSR, IGF2R, SORL1, IGF1, MAPT, MEF2C, BECN1, DPYSL2, FUS, PSEN1, BDNF, IDE, CELF1 and BIN1. The gene discussed is ESR1; the disease is dementia.