CD8A and hepatocellular carcinoma: We investigated the dual role of CD8 lymphocytes by assessing density profiles at the interfaces of both HCC and perineoplastic liver parenchyma with surrounding stroma in whole-slide immunohistochemistry images of surgical resection samples.