Finally, we identified four core shared genes, LRIF1, TNS2, TTF2, and STK26, indicating their significance in T2DM and LUAD. Here, TNS2 is linked to type 2 diabetes mellitus.