We used a deep neural network to locate and identify tumor, TILs, and fibroblasts on hematoxylin and eosin-stained slides from 179 ER+HER2− breast tumors (ICGC cohort) together with a new density estimation analysis to measure the spatial patterns. This evidence concerns the gene ESR1 and neoplasm.