The results indicated that P4HA2 was notably correlated with CD8+T cells in 11 cancer types, B cells and memory B cells in 12 cancer types, plasmacytoid dendritic cells and naïve CD4+ T cells in 13 cancer types, and CD4+Th1 cells in 17 cancer types (P < 0.0001). The gene discussed is CD8A; the disease is cancer.