Compared with non-virus-associated HCC, HBV-associated HCC exhibits selective enrichment of Treg and CD8+ resident memory T cells. This evidence concerns the gene CD8A and hepatocellular carcinoma.