Finally, we evaluated the expression of hub genes with the development of one of the main complications of IPF patients, LUAD and LUSC, and observed that six of them (CDH2, SPP1, TNC, CYR61, SERPINA1, and IL6) were correlated with the progression of different cancer stages. Here, CDH2 is linked to cancer.