Pearson's partial correlation and multivariable logistic analysis were used to evaluate the associations between ApoB/ApoA-I ratio and the risk of T2DM and pre-diabetes. Here, APOA1 is linked to diabetes mellitus.