618 DEGs were obtained, and 9 hub genes for T2D were identified by the MCODE and Hubba plug-ins, including ADAMTS15, ADAMTS7, ADAMTSL1, SEMA5B, ADAMTS8, THBS2, HBB, HBD and HBG2. The gene discussed is THBS2; the disease is type 2 diabetes mellitus.