Cancer patients had higher levels of BATF+CD4+ T cells, PD-L1+CD8+ T cells and CTLA-4+CD8+ T cells compared to healthy donors. Here, CD8A is linked to cancer.