CD8+ TIL from melanoma were more enriched in the TRM (IV) cluster, which is characterized by upregulated expression of CXCL13, CRTAM, TNFRSF9 (4-1BB), XCL1/2 and FABP5, whereas those from NSCLC had greater representation of TRM (II) with markers of both cytotoxicity and dysfunction/exhaustion (co-expression of GZMB, GZMH, PDCD1, and CTLA4) (Supplementary Fig. 1A; Supplementary Data 3, 4). Here, CD8A is linked to non-small cell lung carcinoma.