Increased CD4/CD8 ratio, PD-1 expression and decreased PD-L1 expression was observed in lymphocytes derived from mediastinal lymph nodes of patients with IPF compared to lung cancer. Here, CD274 is linked to lung cancer.