The results showed that ptpn6 can serve as a prognostic factor for a variety of cancers, and that ptpn6 can play an important role in tumor immunity by affecting tumor infiltrating immune cells. The gene discussed is PTPN6; the disease is neoplasm.