The DFS analysis demonstrated that RNF43 expression levels were strongly associated with DLBC [(HR, 3.283; CI 1.244–6.664; p = 0.016), ESCA (HR, 0.750; CI 0.569–0.988, P = 0.041), KIRC (HR, 0.500; CI 0.332–0.764; p < 0.001), STAD (HR, 0.810; CI 0.704–0.933; p = 0.003) and UVM (HR, 0.105; CI 0.033–0.339; p < 0.001)] (Fig. 4B), suggesting that RNF43 acted as a protective factor in ESCA, KIRC, STAD and UVM, while a risk factor in DLBC. Here, RNF43 is linked to gastric adenocarcinoma.