For T cells, patients with high density of CD3+ or CD8+ T cells were associated with better survival, including HCC component, ICC‐IM, or peritumor liver. This evidence concerns the gene CD8A and intrahepatic cholangiocarcinoma.