昨天介绍了强行使用Y叔ggtreeDendro包的plot_wgcna 函数重绘WGCNA中的WGCNA::plotDendroAndColors() 内容。今天修改plot_wgcna代码,使其出图更加贴近于WGCNA包的功能和结果。 本文代码保留了Y叔的plot_wgcna 函数的绝大部分内容。 本文把代码放到了最后,把其它内容都提前了。 存在的问题
加上参数dendroLabels=FALSE,就可以去掉了行名了
Plot a dendrogam of a hierarchical cluster with branches labeled by their numbers and significance estimates of tightness.Guoli SunAlex Krasnitz
Evaluating the key assumptions underlying dendro-provenancing: How to spruce it up with a scissor plot - ScienceDirectUrs Gut a bDendrochronologia
Plot Taper Profiles from Dendrometered TreesJeffrey Gove
所有的样本名(就是行名)都展示在了图中,就会形成一团黑的,看着很不规…plotDendroAndColors(...