NXPH4 expression was positively related with the infiltrating levels of B cells (r = 0.307, p = 5.50e − 09), macrophages (r = 0.27, p = 3.64e − 7), neutrophils (r = 0.226, p = 2.20e − 05), CD4 + T cells (r = 0.316, p = 1.89e − 09), and dendritic cells (DCs, r = 0.438, p = 1.46e − 17) in HCC tissues, while NXPH4 expression appeared to have no apparent relationship with CD8+ T cells and tumor purity (p > 0.05). Here, CD8A is linked to hepatocellular carcinoma.