Correlation analysis between DEIRGs and immune cells revealed that IL1R1 and NRG1 had a negative or positive correlation with some immune cells both in AD and MDD. Here, IL1R1 is linked to major depressive disorder.