Significant canonical correlation (permutation test P < 0.1) between two TCNs in the CLR (g) and DII (h) patient groups. Scatter plots of normalized weights of dominant cell types (observed variable) in each TCN in the first two canonical variate pairs (top left) are shown. Correlation of the enrichment scores of dominant cell types in the first canonical variate pair (bottom left), and representative cell-type and TCN maps (right), are also shown. The black dashed ellipses and rectangles in the cell-type and TCN maps in h are used to highlight the colocalization of smooth muscle cells in TCN-1 and neoplastic cells in TCN-7. For all scatter plots, regression lines, Spearman rank correlation coefficients (rho) and two-sided Spearman rho test P values are shown. For clarity, cells of the studied types and TCNs have been magnified without transparency in all cell-type and TCN maps.