After that, an efficient 8-gene (RRP36, RPF1, GRWD1, FBL, BCCIP, TWISTNB, TBL3, and SKIV2L) T2D prediction model was obtained, whose AUC reached 0.84 and 0.67, respectively, in training set and test set. Here, GRWD1 is linked to type 2 diabetes mellitus.