Our results enhanced the understanding of linkage in PD-L1 expression patterns with macrophages and inflammation, which may provide new insight into the pathogenic mechanisms and potential therapeutic strategy for HCC. Here, CD274 is linked to hepatocellular carcinoma.