The invention relates, in part, to systems and methods for scoring a sample containing tumor tissue from a cancer patient. The score is representative of a nearness between at least one pair of cells, a first member of the least one pair of cells expressing a first biomarker and a second member of the at least one pair of cells expressing a second biomarker that is different from the first biomarker. The score obtained from these methods can be indicative of a likelihood that a patient may respond positively to immunotherapy.