Moreover, the immune correlations of PTPN7 in BrCa and pan-cancer were further investigated based on the TCGA cohort and were testified using the in-house and the Gene Expression Omnibus (GEO) cohorts. Here, PTPN7 is linked to cancer.