Representative single-cell images of the compartmentalized (b-d) and mixed (e) tumors from patients with triple-negative breast cancer. Cells are colored based on the cell-type annotation from the original study 19 (first column) or TCNs identified using two supervised methods, supervised CytoCommunity and SPACE-GM, and three unsupervised methods, that is, unsupervised CytoCommunity, Spatial-LDA and UTAG. b, Tissue image of patient no. 4 on which all methods showed good performance, except for SPACE-GM.