BackgroundTumor-related macrophages (TAMs) have emerged as an essential part of the immune regulatory network in hepatocellular carcinoma (HCC). Constructing a TAM-related signature is significant for evaluating prognosis and immunotherapeutic response of HCC patients.MethodsInformative single-cell RNA sequencing (scRNA-seq) dataset was obtained from the Gene Expression Omnibus (GEO) database, and diverse cell subpopulations were identified by clustering dimension reduction. Moreover, we determined molecular subtypes with the best clustering efficacy by calculating the cumulative distribution function (CDF). The ESTIMATE method, CIBERSORT (cell-type identification by estimating relative subsets of RNA transcripts) algorithm and publicly available tumor immune dysfunction and exclusion (TIDE) tools were used to characterize the immune landscape and tumor immune escape status. A TAM-related gene risk model was constructed through Cox regression and verified in multiple datasets and dimensions. We also performed functional enrichment analysis to detect potential signaling pathways related to TAM marker genes.ResultsIn total, 10 subpopulations and 165 TAM-related marker genes were obtained from the scRNA-seq dataset (GSE149614). After clustering 3 molecular subtypes based on TAM-related marker genes, we found significantly different prognostic survival and immune signatures among the three subtypes. Subsequently, a 9-gene predictive signature (TPP1, FTL, CXCL8, CD68, ATP6V1F, CSTB, YBX1, LGALS3, and APLP2) was identified as an independent prognostic factor for HCC patients. Those patients with high RiskScore had a lower survival rate and benefited less from immunotherapy than those with low RiskScore. Moreover, more samples of the Cluster C subtype were enriched in the high-risk group, with higher tumor immune escape incidence.ConclusionsWe constructed a TAM-related signature with excellent efficacy for predicting prognostic survival and immunotherapeutic responses in HCC patients.