These data suggested that PSPH and SHMT2 may be a promising indicator of the prognosis and cancer immunotherapy by affecting the infiltration level of immune cells. Here, SHMT2 is linked to cancer.