Hierarchical clustering based on cell-type-specific TF activities for post-ICB samples demonstrated that, regardless of cell subtypes, cell types are closely clustered based on their cancer types and response groups, with a clear inter-group clustering pattern of CD4+ and CD8+ T cell subsets, and cancers of analogous tissue origins were also in close proximity—for instance, skin-derived BCC and SCC, as well as liver cancers HCC and iCCA (Figure 2G). Here, TF is linked to skin basal cell carcinoma.