1

I wrote a function in R to do hierarchical clustering.

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")'
}

but it gave me this:

enter image description here Do you know how to get rid of hclust(*,"complete")?

Jan Doggen
  • 8,799
  • 13
  • 70
  • 144

1 Answers1

0

You need to set the sub parameter.

plot(clusters, xlab="Clusters", sub="")
G5W
  • 36,531
  • 10
  • 47
  • 80