Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 R 中编写了一个函数来进行层次聚类。
Klasteryzacja_hierarchiczna = function(ExprSet,a,b,c,d) { Klasteryzacja_h =exprs(ExprSet)' clusters = hclust(dist(Klasteryzacja_h[a:b,c:d]))' plot(clusters,xlab="Clusters")' }
但它给了我这个:
你知道如何摆脱hclust(*,"complete")吗?
您需要设置sub参数。
sub
plot(clusters, xlab="Clusters", sub="")