Our outcomes indicated that ZNF765 expression showed a slightly positive connection with the purity of HCC tumors (r = 0.12, p = 2.5e-02) and was positively correlated with the infiltration levels of B cells (r = 0.389, p = 7.33e-14), CD8+ T cells (r = 0.276, p = 2.09e-07), CD4+ T cells (r = 0.474, p = 1.19e-20), macrophages (r = 0.506, p = 1.31e-23), neutrophils (r = 0.494, p = 1.14e-22), and dendritic cells (r = 0.443, p = 8.24e-18). Here, CD8A is linked to hepatocellular carcinoma.