Notably, the TIME of HCC patients with high KLF4 expression was characterized by increased infiltration of CD8+ T cells and macrophages, both of which exhibited a significant positive correlation with increased KLF4 expression. This evidence concerns the gene KLF4 and hepatocellular carcinoma.