The results revealed that ApoB was significantly associated with depression risk across multiple subgroups, including sex, BC, AF, arrhythmia, cancer, CHD, diabetes, stroke, pneumonia, CKD, TD, and OP (all P < 0.05). The gene discussed is APOB; the disease is cardiac arrhythmia.