The results indicated increased intratumoral heterogeneity and macrophage/monocyte and CD8+ T-cell infiltration in the high-risk CDI group. Here, CD8A is linked to clostridium difficile infection.