Among them, six melatonergic genes were significant unfavorable factors in cancers (e.g., MTNR1A in ESCA and LIHC; GPR50 in KIRC, LIHC, and STAD; NQO2 in BRCA, LIHC, and LUSC; CYP1B1 in KIRC and STAD; ASMT in ESCA, HNSC, and LUAD; and MTNR1B in STAD). Here, MTNR1B is linked to cancer.