Thus, it is exceptionally valuable to explore more deeply the molecular mechanisms and immunoregulatory roles of TRPM2 in the pan-cancer dataset, so that new strategies can be developed for precision cancer therapy. Here, TRPM2 is linked to cancer.