Tumor-intrinsic response to IFNγ shapes the tumor microenvironment and anti–PD-1 response in NSCLC. Here, IFNG is linked to non-small cell lung carcinoma.