In addition, changes in the percentages of activated T cells and activated CD8+ T cells after ICI treatment were age-related; changes in the proportions of CD3+ T cells and activated CD8+ cells were related to hepatitis B infection history; changes in the proportions of B cells and memory T cells were associated with first-line treatment; and changes in the percentages of CD3+CD4+ T cells, the CD4/CD8 ratio and B cells were associated with distant metastasis. This evidence concerns the gene CD4 and hepatitis B virus infection.