Regulatory T‐cells and TRM were enriched in HBV‐related HCC, whereas Tim‐3+ CD8+ T‐cells and CD244+ NK cells were enriched in non‐viral tumours. Here, CD8A is linked to hepatocellular carcinoma.