In the HER2‐positive breast cancer dataset, SpaBatch employs semi‐supervised learning by leveraging limited manual annotations from the first slice to guide the training process, achieving accurate spatial domain identification in the other slices, and precisely labeling regions of carcinoma in situ, invasive carcinoma and other areas. The gene discussed is ERBB2; the disease is cancer.