RTN1 and type 2 diabetes mellitus: RTN1, CLGN, PCSK1, IAPP, ILF2, IMPA1, CCDC47, and PTGES3 were identified as ERS-related DEGs in T2DM, which were revealed to be involved in protein folding, membrane composition, and metabolism regulation.