In summary, SMC6, CDC27, CDC7, RACGAP1, SMC4, NCF1,2,4, SELPLG and CFP are significantly associated with T2DM and lung cancer, making them potential target genes for disease prediction and treatment in the future. The gene discussed is SMC6; the disease is lung carcinoma.