Therefore, it is particularly important to conduct an in-depth examination of the regulatory functions of NNMT in a pan-cancer dataset to provide new directions and strategies for the clinical treatment of cancer. This evidence concerns the gene NNMT and cancer.