GPT and type 2 diabetes mellitus: These findings suggest that the AST/ALT ratio was consistently associated with higher odds of DR in type 2 diabetes, even after accounting for various confounding factors.