B cell clusters in LUAD. (A) tSNE plot of 1,136 B cells, which are color-coded by their associated cluster or the sample location. (B) tSNE plot, which is color-coded for expression of marker genes for the cell types, as indicated. (C) Heatmap of the ssGSEA score, as estimated using gene sets from MsiDB, for eight B cell clusters: follicular B cells (cluster 0), follicular B cells (cluster 1), memory B cells (cluster 2), follicular B cells (cluster 3), other B cells (cluster 4), MALT B cells (cluster 5), other B cells (cluster 6), plasma B cells (cluster 7), and MALT B cells (cluster 8). (D) Heatmap depicting the mean differences in pathway activities scored per cell by GSVA between the tumor core and tumor edge across the follicular B cells (cluster 0), follicular B cells (cluster 1), memory B cells (cluster 2), follicular B cells (cluster 3), other B cells (cluster 4), MALT B cells (cluster 5), other B cells (cluster 6), plasma B cells (cluster 7), MALT B cells (cluster 8). The x-axis of the heatmap indicates different B cell clusters, and the y-axis indicates pathway activities scored per cell by GSVA. Each square represents the fold change or difference in each indicated pathway activity scored per cell by GSVA between the tumor core and tumor edge across the follicular B cells (cluster 0), follicular B cells (cluster 1), memory B cells (cluster 2), follicular B cells (cluster 3), other B cells (cluster 4), MALT B cells (cluster 5), other B cells (cluster 6), plasma B cells (cluster 7), and MALT B cells (cluster 8). Red indicates upregulation, while blue indicates downregulation. (E) Differences in pathway activities scored per cell by GSVA between tumor core and tumor edge in the follicular B cells (cluster 0), follicular B cells (cluster 1), memory B cells (cluster 2), follicular B cells (cluster 3), other B cells (cluster 4), MALT B cells (cluster 5), other B cells (cluster 6), plasma B cells (cluster 7), and MALT B cells (cluster 8). T-values are from a linear model. *P < 0.05; **P < 0.01.