Moreover, the EMT- and immune-related signatures were constructed based on three EMT- and immune-related genes (IL1R2, S100A12, and CCL8), and the K–M and ROC curves presented that the signature could affect the prognosis of IPF patients and could predict the 1-, 2-, and 3-year survival well. Here, S100A12 is linked to idiopathic pulmonary fibrosis.