In two types of patients with cancer, melanoma and NSCLC, those whose tumors exhibited increased inflammatory gene transcripts with high circulating CD4+ and CD8+ central memory T cell (Tcm) to effector T cell ratios had longer PFS. Here, CD4 is linked to cancer.