We next tested the algorithm on publicly available53 spatial transcriptomics dataset obtained from tissue biopsies of two patients, one diagnosed with ESR1+/ERBB2+ lobular oestrogen-positive carcinoma (Fig. 2C and Supplementary Fig. 10A) and the other with ESR1+/ERBB2+ ductal carcinoma (Supplementary Fig. 10B,C). The gene discussed is ERBB2; the disease is breast ductal adenocarcinoma.