High levels of CD4+ and CD8+ T cells, along with CD20+ B cell infiltration in the tumor mass, are associated with longer survival in NSCLC patients. Here, CD8A is linked to non-small cell lung carcinoma.