NSCLC was classified into three subtypes based on the relative infiltration levels of CD8+ T cells in both the epithelial and stromal compartments: inflamed (both compartments>10/1000), excluded (epithelial compartment<10/1000 and stromal compartment>10/1000), and desert (both compartments<10/1000). This evidence concerns the gene CD8A and non-small cell lung carcinoma.