TFAP4 was found to be correlated with TIL gene markers in HCC, including those for B cells (CD19 and CD79A), CD8 + T cells (CD8B), monocytes (CD86 and CSF1R), M1 macrophages (NOS2 and IRF5), tumour‐associated macrophages (CD68 and IL10), neutrophils (ITGAM), natural killer cells (KIR2DL4), dendritic cells (HLA‐DPB1, HLA‐DRA,NRP1 and ITGAX), T‐helper 1 cells (STAT1, IFNG and TNF), T‐helper 2 cells (STAT6 and STAT5A), follicular helper T cells (BCL6), Tregs (FOXP3, STAT5B and TGFB1) and exhausted T cells (PDCD1, CTLA4, LAG3 and HAVCR2). Here, HLA-DPB1 is linked to hepatocellular carcinoma.