TRPM6 regulates cancers via neural pathways, associates with immune/tumor microenvironments, and has pan-cancer diagnostic value. Here, TRPM6 is linked to cancer.