Kaplan–Meier Plotter was used to analyse the effect of TSP2 expression on different subgroups of GC patients, and the results showed that the TSP2 expression level affected the OS of patients differently based on sexes, treatment methods, HER2 expression, M staging, Lauren classification, and differentiation type subgroups (P < 0.05). The gene discussed is THBS2; the disease is gastric cancer.