In this study, two biomarkers—CD28 and PF4—associated with IPF were selected through various analytical methods, including differential analysis, WGCNA, correlation analysis, univariate regression analysis, the PH hypothesis test, LASSO regression analysis, and multivariate regression analysis. The gene discussed is PF4; the disease is idiopathic pulmonary fibrosis.