kmeans2.plot: Plotting results for k-means clustering

Description Usage Arguments Value Author(s) Examples

View source: R/kmeans2.plot.R

Description

This function visualises the clusters produced by kmeans2.

Usage

1
kmeans2.plot(eset,kl,mfrow=c(1,1))

Arguments

eset

object of the class“ExpressionSet”.

kl

list produced by kmeans2.

mfrow

determines splitting of graphic window.

Value

The function displays the temporal profiles of clusters detected by k-means.

Author(s)

Matthias E. Futschik (http://itb.biologie.hu-berlin.de/~futschik)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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))
}

Mfuzz documentation built on May 31, 2017, 10:59 a.m.

Search within the Mfuzz package
Search all R packages, documentation and source code