In conclusion, our study elucidates the nuanced differences in immune cell behavior between HD, DM, and NPDR groups, highlighting T cell dysregulation and MerTK downregulation as potential factors in pathogenesis of DR. This evidence concerns the gene MERTK and diabetes mellitus.