In vivo, PTPN2 inhibitor cotreatment significantly reduced melanoma and colorectal tumor growth and enhanced mouse survival compared with anti-PD-1 treatment alone, and this was accompanied by increased tumor infiltration by granzyme B+ CD8+ T cells. This evidence concerns the gene CD8A and colorectal neoplasm.