Through the integrative analysis, our findings revealed that the abundance ratio of the four immune cells was related to the survival of CCA patients via Kaplan-Meier analysis, including T cell CD4 memory activated, monocyte, NK cells resting, and dendritic cells activated. This evidence concerns the gene CD4 and cholangiocarcinoma.