In vivo experiments were conducted in B16-F10 melanoma and Lewis lung carcinoma (LLC) models using flow cytometry.<h4>Results</h4>Pan-cancer analyses showed that elevated AGR2 expression correlates with poor prognosis in multiple cancers and is associated with reduced immune infiltration. The gene discussed is AGR2; the disease is cancer.