In this report, we develop a TMEPRE method that dissects the gene expression patterns of these two characteristics from the tumor microenvironment in colorectal cancer and predict anti-PD1 response. The gene discussed is PDCD1; the disease is neoplasm.