The correlations between the numbers of CD8+TILs, CD103+ immune cells, and tissue-resident CD103+CD8+T cells and clinical parameters in HCC and ICC were investigated. This evidence concerns the gene ITGAE and intrahepatic cholangiocarcinoma.