Our findings indicated that both LGALS3 and HCP5 were significantly positively correlated with several immune cell populations as well as their biomarkers, including CD4+ T cell, CD8+T cell, neutrophil, macrophage, B cell, dendritic cell, as well as CAFs in HCC. This evidence concerns the gene CD8A and hepatocellular carcinoma.