Our study provides evidence for the optimization of PD-L1 testing for lung cancer. Here, CD274 is linked to lung cancer.