Plotting results for k-means clustering
This function visualises the clusters
produced by kmeans2
.
kmeans2.plot(eset,kl,mfrow=c(1,1))
eset |
object of the class“ExpressionSet”. |
kl |
list produced by |
mfrow |
determines splitting of graphic window. |
The function displays the temporal profiles of clusters detected by k-means.
Matthias E. Futschik (http://itb.biologie.hu-berlin.de/~futschik)
if (interactive()){ data(yeast) # Data pre-processing yeastF <- filter.NA(yeast) yeastF <- fill.NA(yeastF) yeastF <- standardise(yeastF) # K-means clustering and visualisation kl <- kmeans2(yeastF,k=20) kmeans2.plot(yeastF,kl=kl,mfrow=c(2,2)) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.