HMGN3 exhibited a positive association with PD-1, PD-L1, PD-L2, CTLA4, LAG3, TIGIT, and HAVCR2 in HCC. Here, PDCD1LG2 is linked to hepatocellular carcinoma.