Remarkably, based on the results of this study, we found that G6PD expression was significantly positively correlated with infiltrating immune cells in most cancer types, especially in KIRC, LGG, LIHC, and PAAD, while negatively correlated with LUSC, STAD (Figure 4). This evidence concerns the gene G6PD and cancer.