Despite the clear differences in the associated median 1-NN distances, the G-function approach did not identify the associations of the SRs with response at a low threshold (T = 25 μm, Supplementary Fig. 3A) nor the associations of the SRs involving CD8+ T cells and response at a higher threshold (T = 50 μm, Supplementary Fig. 3B, FDR = 0.14 and FDR = 0.20 for CD8+ T cell to cancer cell and CD8+ T cell to negative cell, respectively). Here, CD8A is linked to cancer.