For the seed.num parameter, CellMap was applied to simulated ST data of human HER2+ breast cancer, in which the true cell-type composition of each spot was known (see the “Materials and methods” section). Here, ERBB2 is linked to breast cancer.