After applying significance thresholds (adjusted p < 0.001 and normalized enrichment score (NES) ≥ 2), the following six Hallmark gene sets were enriched in gastric cancer: interferon gamma response, interferon alpha response, allograft rejection, inflammatory response, IL6 JAK STAT3 signaling, and TNFA signaling via NF-κB. This evidence concerns the gene TNF and gastric cancer.