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 RACGAP1; the disease is type 2 diabetes mellitus.