Functional analysis suggested that tumor pathways related to high expression of PTP1B were directly participated in the tumor development and immune-related pathways were also influenced by PTP1B in cancers. This evidence concerns the gene PTPN1 and cancer.