Subgroup analysis for T2D patients revealed an increase in TGF-β, IL-6 and SCTX in the osteoporosis group, while a decreased PINP in the osteoporosis group compared to the other two subgroups. Here, TGFB1 is linked to type 2 diabetes mellitus.