Clinicopathological factors, tumor-infiltrating lymphocytes (TILs), CD4+ and CD8+ T cells, and granzyme B (GZB) expression in resected HCC, and postoperative overall and progression-free survival were compared between the three groups. Here, CD8A is linked to hepatocellular carcinoma.