经常在文章中看到对细胞群进行聚类,以证明两个cluster之间的相关性,这里总结两种绘制这种图的方式和代码,当然我觉得这些五颜六色的颜色可能是后期加的,本帖子只总结画树状图的方法
文章Single-cell analyses implicate ascites in remodeling the ecosystems of primary and metastatic tumors in ovarian cancer
Hierarchical clustering comparing the similarity of myeloid cell clusters in our dataset (OC) with those reported in CRC and HCC. Clusters were colored by dataset. n = 3 tumor types were used for analysis
文中的描述是:As expected, both cDC1 and cDC2 from different cancer types or tissue sources were clustered together, indicating their conserved phenotypes.