A multivariate Cox proportional hazard model showed that B-cells, CD8+ T cells, macrophages, and dendritic cells infiltrated by immune cells were statistically significant in liver cancer (P < 0.05), indicating that these immune cells significantly affect the prognosis, it is worth further research and exploration Table 5. This evidence concerns the gene CD8A and liver cancer.