In this study, we used a range of technologies to explore the relationship between ferroptosis tendency and dedifferentiation, and we explored four hub genes (NFE2L2, CHMP5, PTEN, and STAT3) as well as important transcription factors and lncRNAs that may serve as markers or treatment targets for T2D. Here, PTEN is linked to type 2 diabetes mellitus.