Provided herein are methods of treating a tumor comprising administering an effective amount of one or more immune-mediated cancer therapies, including durvalumab (MEDI4736) or an antigen-binding fragment thereof. Analysis of tumor sample sections using image analysis and gene expression identified patients for which immune-mediated cancer therapy would be effective. Durvalumab was effective at treating non-small cell lung cancers characterized by image analysis using tumor cell and immune cell markers (e.g., PD-Lq1 and CD8) and gene expression (e.g. IFN#).