Of the immune cells investigated, M1 macrophages, activated memory CD4+ T cells, T follicular helper (Tfh) cells and CD8+ T cells correlated with response and prolonged PFS and OS, while resting memory CD4+ T cells was associated with unfavorable prognosis in melanoma and urothelial cancer. The gene discussed is CD8A; the disease is melanoma.