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). This evidence concerns the gene APOB and coronary artery disorder.