In addition, when the single-cell data contain additional cell types compared to the spatial data, as in the basophils and effector CD8 T cells in sorted single-cell data of breast cancer (Additional file 1: Fig. S11B), the prediction of minor immune cell fraction may be affected. Here, CD8A is linked to breast cancer.