To address spatial and cellular heterogeneity in PD-L1 immunolabelling, we ensured representation of multiple cores from the centre, periphery of HCC and the cirrhotic microenvironment. Here, CD274 is linked to hepatocellular carcinoma.