In the HCC nests, macrophages accounted for the largest proportion of immune cells, followed by CD4+ T cells, CD8+ T cells and monocytes. Here, CD8A is linked to hepatocellular carcinoma.