The immune-associated genes in both atherosclerosis and osteoporosis from WGCNA mainly included TREM1, CYBB, CCR1, CD83, CD52, IL7R, and THBS1. This evidence concerns the gene TREM1 and osteoporosis.