RETN and diabetes mellitus: This study firstly analyzed the relationship between leptin and resistin in T2DM according to novel subgroups, providing promising prospects for precision medicine involving leptin or resistin in diabetes.