Based on the Quantitative Pathology Imaging and Analysis System coupled with integrated high-dimensional bioinformatics analysis, we further independently validated six immune subsets (CD4+ T cells, CD8+ T cells, CD20+ B cells, CD14+ monocytes, CD56+ NK cells, and CD68+ macrophages), and shortlisted three (CD4+ T cells, CD8+ T cells, and CD56+ NK cells) of which to investigate their association with clinical outcomes in two independent Zhongshan cohorts of HCC patients (n = 258 and n = 178). Here, CD4 is linked to hepatocellular carcinoma.