APOB and diabetes mellitus: 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.