HCC patients with higher fractions of memory CD8+ T cells and Treg cells had a worse prognosis (log‐rank test p‐values of 0.055 and 0.037, respectively). This evidence concerns the gene CD8A and hepatocellular carcinoma.