Our results showed that PTPN1 was significantly positively correlated with the presence of CD8+ T cells in most cancer types. This evidence concerns the gene PTPN1 and cancer.