We have focused our study on immune cells present in the tumor microenvironment, and we have developed a formula (ratio) that correlates with the response to anti-PD1 therapy and progression-free and overall survival, based on the numerical difference between GRZB+ and FOXP3+ cells over the total CD3+ lymphocytes. The gene discussed is FOXP3; the disease is neoplasm.