The study identified four immune-related hub genes (TLR2, RETN, HP, and IL7R) in MDD that may impact the diagnosis and treatment of the disorder. Here, HP is linked to major depressive disorder.