After running CIBERSORT and ESTIMATE, 893 samples with CIBERSORT P < 0.05 were obtained, and the proportion of 22 immune cells as well as immune and stromal scores in each CRC sample were calculated and visualized via heatmap (Fig. 6a), from which we observed that with the increase of stemness-risk scores, the fractions of M2 macrophages and M0 macrophages, as well as immune and stromal scores increased, while fractions of activated NK cells, CD8 T cells and T cells follicular helper decreased. The gene discussed is CD8A; the disease is colorectal carcinoma.