We found that the risk score was negatively correlated with CD8+ T cell, Tfhs, and M1 macrophage, which were confirmed to play an anti-tumor role in cancer, while it was positively associated with M2 macrophage which inhibited the immune response. This evidence concerns the gene CD8A and cancer.