The ROC curve for the hub genes indicated that GATA3 and PTEN have a high diagnostic potential for diabetes and OA. Here, GATA3 is linked to diabetes mellitus.