In ICC, subgroup A displayed a gene expression profile suggesting epithelial‐mesenchymal transition with modifications of cell–cell interaction, adhesion and motility accompanied by KRAS up‐regulation, whereas in ECC immune exhaustion was associated with proliferation and EGFR signaling. This evidence concerns the gene KRAS and intrahepatic cholangiocarcinoma.