Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function is a wrapper function for
cmeans
of the e1071
package. It performs
soft clustering of genes based on their expression values using
the fuzzy c-means algorithm.
1 |
eset |
object of the class “ExpressionSet”. |
centers |
number of clusters. |
m |
fuzzification parameter. |
... |
additional parameters for |
This function is the core function for soft clustering. It groups genes based on the Euclidean distance and the c-means objective function which is a weighted square error function. Each gene is assigned a membership value between 0 and 1 for each cluster. Hence, genes can be assigned to different clusters in a gradual manner. This contrasts hard clustering where each gene can belongs to a single cluster.
An object of class flcust
(see
cmeans
) which is a list with components:
centers |
the final cluster centers. |
size |
the number of data points in each cluster of the closest hard clustering. |
cluster |
a vector of integers containing the indices of the clusters where the data points are assigned to for the closest hard clustering, as obtained by assigning points to the (first) class with maximal membership. |
iter |
the number of iterations performed. |
membership |
a matrix with the membership values of the data points to the clusters. |
withinerror |
the value of the objective function. |
call |
the call used to create the object. |
Note that the clustering is based soley on the exprs
matrix and
no information is used from the phenoData
. In particular,
the ordering of samples (arrays) is the same as the ordering
of the columns in the exprs
matrix. Also, replicated arrays in the
exprs
matrix are treated as independent by the mfuzz
function
i.e. they should be averagered prior to clustering or placed into different
distinct “ExpressionSet” objects.
Matthias E. Futschik (http://www.sysbiolab.eu)
M.E. Futschik and B. Charlisle, Noise robust clustering of gene expression time-course data, Journal of Bioinformatics and Computational Biology, 3 (4), 965-988, 2005
L. Kumar and M. Futschik, Mfuzz: a software package for soft clustering of microarray data, Bioinformation, 2(1) 5-7,2007
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if (interactive()){
data(yeast)
# Data pre-processing
yeastF <- filter.NA(yeast)
yeastF <- fill.NA(yeastF) # for illustration only; rather use knn method
yeastF <- standardise(yeastF)
# Soft clustering and visualisation
cl <- mfuzz(yeastF,c=20,m=1.25)
mfuzz.plot(yeastF,cl=cl,mfrow=c(2,2))
# Plotting center of cluster 1
X11(); plot(cl[[1]][1,],type="l",ylab="Expression")
# Getting the membership values for the first 10 genes in cluster 1
cl[[4]][1:10,1]
}
|
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colMeans, colSums, colnames, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
setdiff, sort, table, tapply, union, unique, unsplit, which,
which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: e1071
Warning message:
no DISPLAY variable so Tk is not available
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.