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. This evidence concerns the gene CFP and lung cancer.