Computational cluster validation for microarray data analysis: experimental assessment of Clest, Consensus Clustering, Figure of Merit, Gap Statistics and Model Explorer
 Raffaele Giancarlo^{1}Email author,
 Davide Scaturro^{1} and
 Filippo Utro^{1}
DOI: 10.1186/147121059462
© Giancarlo et al; licensee BioMed Central Ltd. 2008
Received: 23 September 2008
Accepted: 29 October 2008
Published: 29 October 2008
Abstract
Background
Inferring cluster structure in microarray datasets is a fundamental task for the socalled omic sciences. It is also a fundamental question in Statistics, Data Analysis and Classification, in particular with regard to the prediction of the number of clusters in a dataset, usually established via internal validation measures. Despite the wealth of internal measures available in the literature, new ones have been recently proposed, some of them specifically for microarray data.
Results
We consider five such measures: Clest, Consensus (Consensus Clustering), FOM (Figure of Merit), Gap (Gap Statistics) and ME (Model Explorer), in addition to the classic WCSS (Within Cluster SumofSquares) and KL (Krzanowski and Lai index). We perform extensive experiments on six benchmark microarray datasets, using both Hierarchical and Kmeans clustering algorithms, and we provide an analysis assessing both the intrinsic ability of a measure to predict the correct number of clusters in a dataset and its merit relative to the other measures. We pay particular attention both to precision and speed. Moreover, we also provide various fast approximation algorithms for the computation of Gap, FOM and WCSS. The main result is a hierarchy of those measures in terms of precision and speed, highlighting some of their merits and limitations not reported before in the literature.
Conclusion
Based on our analysis, we draw several conclusions for the use of those internal measures on microarray data. We report the main ones. Consensus is by far the best performer in terms of predictive power and remarkably algorithmindependent. Unfortunately, on large datasets, it may be of no use because of its nontrivial computer time demand (weeks on a state of the art PC). FOM is the second best performer although, quite surprisingly, it may not be competitive in this scenario: it has essentially the same predictive power of WCSS but it is from 6 to 100 times slower in time, depending on the dataset. The approximation algorithms for the computation of FOM, Gap and WCSS perform very well, i.e., they are faster while still granting a very close approximation of FOM and WCSS. The approximation algorithm for the computation of Gap deserves to be singledout since it has a predictive power far better than Gap, it is competitive with the other measures, but it is at least two order of magnitude faster in time with respect to Gap. Another important novel conclusion that can be drawn from our analysis is that all the measures we have considered show severe limitations on large datasets, either due to computational demand (Consensus, as already mentioned, Clest and Gap) or to lack of precision (all of the other measures, including their approximations). The software and datasets are available under the GNU GPL on the supplementary material web page.
Background
The recent advent of high density arrays of oligonucleotides and cDNAs has had a deep impact on biological and medical research. Indeed, the new technology enables the acquisition of data that is proving to be fundamental in many areas of the biological sciences, ranging from the understanding of complex biological systems to clinical diagnosis (see for instance the Stanford Microarray Database [1]).
Due to the large number of genes involved in each experiment, cluster analysis is a very useful exploratory technique for identifying genes that exhibit similar expression patterns, which may highlight groups of functionally related genes. This leads, in turn, to two well established and rich research areas. One deals with the design of new clustering algorithms and the other with the design of new internal validation measures that should assess the biological relevance of the clustering solutions found. Despite the vast amount of knowledge available in those two areas in the general data mining literature [2–9], gene expression data provide unique challenges, in particular with respect to internal validation measures. Indeed, they must predict how many clusters are really present in a dataset, an already difficult task, made even worse by the fact that the estimation must be sensible enough to capture the inherent biological structure of functionally related genes. Despite their potentially important role, both the use of classic internal validation measures and the design of new ones, specific for microarray data, do not seem to have great prominence in bioinformatics, where attention is mostly given to clustering algorithms. The excellent survey by Handl et al. [10] is a big step forward in making the study of those techniques a central part of both research and practice in bioinformatics, since it provides both a technical presentation as well as valuable general guidelines about their use for postgenomic data analysis. Although much remains to be done, it is, nevertheless, an initial step.
 (A)
What is the precision of a measure, i.e., its ability to predict the correct number of clusters in a data set? That is usually established by comparing the number of clusters predicted by the measure against the number of clusters in the gold solution of several datasets, the gold solution being a partition of the dataset in classes that can be trusted to be correct, i.e., distinct groups of functionally related genes. A more precise explanation of the meaning of gold solution in our setting is provided when we present the datasets used for our experiments in the Results and Discussion section.
 (B)
Among a collection of measures, which is more accurate, less algorithmdependent, etc.,?. Precision versus the use of computational resources, primarily execution time, would be an important discriminating factor.
Although those classic studies are also of great relevance for bioinformatics, there is an acute need for analogous studies conducted on internal measures introduced recently and specifically designed for analysis of microarray data. We address both types of questions for several particularly prominent such measures, characterized by the fact that, for their prediction, they make use of nothing more than the dataset available: Clest [12], Consensus [13], FOM [14] Gap [15] and ME [16]. Because of their simplicity and computational efficiency, we also study WCSS [6] and KL [17]. The heuristic method supporting the use of WCSS as an internal measure has roots in the statistics community folklore [15].
Initial studies of the mentioned measures, in connection with both Questions (A) and (B), have been done, primarily, in the papers in which they were originally proposed. Our study carries further those studies by providing more focused information about using those measures for the analysis of gene expression data. For Question (A), our analysis provides further insights into the properties of the mentioned measures, with particular attention to time. For Question (B), we provide the first comparative analysis involving all of those measures that accounts for both precision and time. This is particularly relevant in regard to the "resamplingbased" methods, i.e., Clest, Consensus and ME. In fact, (1) those three measures are excellent representatives of methods in the class (see Handl et al. and [18, 19]); (2) Dudoit and Fridlyand mention that it would be desirable to relate Clest and ME but no comparison seems to be available in the literature; (3) although it is quite common to include Clest and Gap in comparative analysis for novel measures, Consensus is hardly considered, although our experiments show that it should definitely be included. Based on our analysis, we add to the state of the art valuable guidelines for the choice of which of the seven measures to use for microarray data analysis. Moreover, we also provide, as an additional contribution for FOM, Gap and WCSS, several good and fast approximation algorithms, i.e., the new algorithms have the same predictive power of the mentioned measures, while being faster. Particularly relevant is the approximation algorithm we propose for Gap. It is at least two orders of magnitude faster than the original measure and with a better prediction power.
Results and discussion
Experimental setup
Data sets
Technically speaking, a gold solution for a dataset is a partition of the data in a number of classes known a priori. Membership in a class is established by assigning the appropriate class label to each element. In less formal terms, the partition of the dataset in classes is based on external knowledge that leaves no ambiguity on the actual number of classes and on the membership of elements to classes. Although there exist real microarray datasets for which such an a priori division is known, in a few previous studies of relevance here, a more relaxed criterion has been adopted to allow also datasets with high quality partitions that have been inferred by analyzing the data, i.e., by the use of internal knowledge via data analysis tools such as clustering algorithms. In strict technical terms, there is a difference between the two types of "gold solutions". For their datasets, Dudoit and Fridlyand elegantly make clear that difference and we closely follow their approach here.
Each dataset is a matrix, in which each row corresponds to an element to be clustered and each column to an experimental condition. The six datasets, together with the acronyms used in this paper, are reported next. For conciseness, we mention only some relevant facts about them. The interested reader can find additional information in Handl et al., for the Leukemia dataset, in Dudoit and Fridlyand for the Lymphoma and NCI60 datasets and in Di Gesú et al. [20], for the remaining ones. In all of the referenced papers, the datasets were used for validation studies. Moreover, in those papers, the interested reader can find additional pointers to validation studies using the same datasets.
CNS Rat
The dataset gives the expression levels of 112 genes during rat central nervous system development. It is a 112 × 17 data matrix studied by Wen et al. [21]. There are no a priori known classes for this dataset, but the analysis by Wen et al. suggests a partition of the genes into six classes, four of which are composed of biologically, functionallyrelated, genes. We take that to be the gold solution, which is the same one used for the validation of FOM.
Leukemia
The dataset is the one used by Handl et al. in their survey of computational cluster validation to illustrate the use of some measures. It is a 38 × 100 data matrix, where each row corresponds to a patient with acute leukemia and each column to a gene. For this dataset, there is an a priori partition into three classes and we take that as the gold solution.
Lymphoma
The dataset comes from the study of Alizadeh et al. [22] on the three most common adult lymphoma tumors. It is an 80 × 100 matrix, where each row corresponds to a tissue sample and each column to a gene. There is an a priori partition into three classes and we take that as the gold solution. The dataset has been obtained from the original microarray experiments as described by Dudoit and Fridlyand.
NCI60
This dataset originates from a microarray study in gene expression variation among the sixty cell lines of National Cancer Institute anticancer drug screen [23]. It is a 57 × 200 data matrix, where each row corresponds to a cell line and each column to a gene. There is an a priori partition of the dataset into eight classes and we take that as the gold solution. The dataset has been obtained from the original microarray experiments as described by Dudoit and Fridlyand.
Yeast
The dataset is part of that studied by Spellman et al. [24] and it is a 698 × 72 data matrix. There are no a priori known classes for this dataset, but the analysis by Spellman et al. suggests a partition of the genes into five functionallyrelated classes. We take that to be the gold solution, which has been used by Shamir amd Sharan for a case study on performance of clustering algorithms [25].
PBM
The dataset contains 2329 cDNAs with a fingerprint of 139 oligos. This gives a 2329 × 139 data matrix. According to Hartuv et al. [26], the cDNAs in the dataset originated from 18 distinct genes, i.e., the a priori classes are known. The partition of the dataset into 18 groups was obtained by lab experiments at Novartis in Vienna. Following that study, we take those classes and the class labels assigned to the elements as the gold solution. It was used by Hartuv et al. to test their clustering algorithm.
Clustering algorithms and their stability
We use a suite of clustering algorithms. Among the hierarchical methods [27] HierA (Average Link), HierC (Complete Link), and HierS (Single Link). Moreover, we use Kmeans [27], both in the version that starts the clustering from a random partition of the data and in the version where it takes as part of the input an initial partition produced by one of the chosen hierarchical methods. The acronyms of those versions are KmeansR, KmeansA, KmeansC and KmeansS, respectively.
We also point out that KmeansR is a randomized algorithm that may provide different answers on the same input dataset. That might make the values of many of the measures we are studying depend critically on the particular execution of the algorithm. Such a dependence is important for WCSS, KL and FOM. For those measures and their approximations, we have repeated five times the computation of the relevant curves, on all datasets, with KmeansR. We observed only negligible differences from run to run. Therefore, in what follows, all reported results refer to a single run of the algorithms, except for the cases in which an explicit Monte Carlo simulation is required.
Similarity/Distance Functions
All of our algorithms use Euclidean distance in order to assess similarity of single elements to be clustered. Such a choice is natural and conservative, as we now explain. It places all algorithms in the same position without introducing biases due to distance function performance, rather than to the algorithm. Moreover, time course data have been properly standardized (mean equal to zero and variance equal to one), so that Euclidean distance would not be penalized on those data. This is standard procedure, e.g., [14], for those data. The results we obtain are conservative since, assuming that one has a provably much better similarity/distance function, one can only hope to get better estimates than ours (else the used distance function is not better than Euclidean distance after all). As it is clear from the upcoming discussion and conclusions, such better estimates will cause no dramatic change in the general picture of our findings. The choice is also natural, in view of the debate regarding the identification of a proper similarity/distance function for clustering gene expression data and the number of such measures available. The state of the art as well some relevant progress in the identification of such measure is well presented in [28].
Hardware
All experiments for the assessment of the precision of each measure were performed in part on several stateoftheart PCs and in part on a 64bit AMD Athlon 2.2 GHz biprocessor with 1 GB of main memory running Windows Server 2003. All the timing experiments reported were performed on the biprocessor, using one processor per run. The usage of different machines for the experimentation was deemed necessary in order to complete the full set of experiments in a reasonable amount of time. Indeed, as detailed later, some measures require weeks to complete execution on Yeast and PBM, the two largest datasets we have used. We also point out that all the Operating Systems supervising the computations have a 32 bits precision.
Question (A)Intrinsic precision of the internal measures
Results for WCSS and its approximations
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  PBM  CNS Rat  Leukemia  NCI60  Limphoma  
KmeansR  4  ➌  3  8  ④    2.4 × 10^{3}  2.0 × 10^{3}  8.4 × 10^{3}  8.4 × 10^{3} 
KmeansA  4  ➌  ⑦  6  ➎    2.3 × 10^{3}  1.3 × 10^{3}  5.4 × 10^{3}  5.8 × 10^{3} 
KmeansC  ⑤  ➌  ➑  8  ④    1.7 × 10^{3}  1.3 × 10^{3}  5.0 × 10^{3}  4.0 × 10^{3} 
KmeansS  3  ④  ⑦  8  24    2.6 × 10^{3}  1.6 × 10^{3}  7.3 × 10^{3}  7.4 × 10^{3} 
RR0  ⑤  ④  ⑨  ➌  ④    1.2 × 10^{3}  8.0 × 10^{2}  4.1 × 10^{3}  3.0 × 10^{3} 
RR5  ➏  5  ⑨  5  ④    1.2 × 10^{3}  8.0 × 10^{2}  4.6 × 10^{3}  3.2 × 10^{3} 
RR2  ⑦  5  15  ④  ④    1.3 × 10^{3}  8.0 × 10^{2}  5.3 × 10^{3}  3.2 × 10^{3} 
HierA  10  ➌  3  6  ➎    1.1 × 10^{3}  4.0 × 10^{2}  2.1 × 10^{3}  1.9 × 10^{3} 
HierC  10  ➌  ⑦  8  9    7.0 × 10^{2}  4.0 × 10^{2}  1.7 × 10^{3}  1.4 × 10^{3} 
HierS  8  10  ⑦  9      2.6 × 10^{3}  6.0 × 10^{2}  3.2 × 10^{3}  3.8 × 10^{3} 
Gold solution  6  3  8  3  5  18         
Results for KL
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  PBM  CNS Rat  Leukemia  NCI60  Limphoma  
KmeansR  4  27  3  22  29  24  2.7 × 10^{3}  3.4 × 10^{3}  9.3 × 10^{3}  9.0 × 10^{3} 
KmeansA  25  ➌  3  ②  7  16  2.3 × 10^{3}  2.4 × 10^{3}  5.7 × 10^{3}  6.2 × 10^{3} 
KmeansC  2  ➌  ⑦  ②  26  24  3.0 × 10^{3}  2.6 × 10^{3}  5.0 × 10^{3}  5.8 × 10^{3} 
KmeansS  4  ④  12  8  13  16  4.0 × 10^{3}  2.9 × 10^{3}  8.0 × 10^{3}  8.5 × 10^{3} 
HierA  ⑦  ➌  3  ②  17  12  1.9 × 10^{3}  6.0 × 10^{2}  2.1 × 10^{3}  2.5 × 10^{3} 
HierC  10  ➌  2  ②  16  15  1.6 × 10^{3}  1.1 × 10^{3}  2.5 × 10^{3}  2.1 × 10^{3} 
HierS  21  7  ⑦  9  15  25  3.4 × 10^{3}  1.3 × 10^{3}  3.7 × 10^{3}  4.9 × 10^{3} 
Gold solution  6  3  8  3  5  18         
Results for GGap
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  PBM  CNS Rat  Leukemia  NCI60  Limphoma  
KmeansR  ⑦  ➌  4  ④  ⑥  5  2.4 × 10^{3}  2.0 × 10^{3}  8.3 × 10^{3}  8.4 × 10^{3} 
KmeansA  4  ➌  1  ②  ⑥  4  2.3 × 10^{3}  1.3 × 10^{3}  5.3 × 10^{3}  5.8 × 10^{3} 
KmeansC  ⑤  ➌  2  8  ⑥  5  1.7 × 10^{3}  1.3 × 10^{3}  5.0 × 10^{3}  4.0 × 10^{3} 
KmeansS  3  ➌  1  1  1  1  2.6 × 10^{3}  1.6 × 10^{3}  7.3 × 10^{3}  7.4 × 10^{3} 
RR0  2  7  2  ④  ➎  4  1.2 × 10^{3}  8.0 × 10^{2}  4.0 × 10^{3}  3.0 × 10^{3} 
RR5  ⑤  ④  2  ②  ④  6  1.2 × 10^{3}  8.0 × 10^{2}  4.5 × 10^{3}  3.2 × 10^{3} 
RR2  3  ②  2  ②  ➎  6  1.3 × 10^{3}  8.0 × 10^{2}  5.2 × 10^{3}  3.2 × 10^{3} 
HierA  ⑦  ➌  1  ②  3  1  1.1 × 10^{3}  4.0 × 10^{2}  2.0 × 10^{3}  1.9 × 10^{3} 
HierC  ⑦  ➌  2  ②  7  4  7.0 × 10^{2}  4.0 × 10^{2}  1.7 × 10^{3}  1.4 × 10^{3} 
HierS  ⑤  ➌  1  1  1  5  2.6 × 10^{3}  6.0 × 10^{2}  3.2 × 10^{3}  3.8 × 10^{3} 
Gold solution  6  3  8  3  5  18         
Results for Clest
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  CNS Rat  
ClestFMKmeansR  8  ④  ➑  ②  ④  1.2 × 10^{6} 
ClestFMKmeansA  18  7  12  15  13  1.4 × 10^{6} 
ClestFMKmeansC  12  5  12  11  ④  1.5 × 10^{6} 
ClestFMKmeansS  24  8  13  15  1  1.8 × 10^{6} 
ClestFMHierA  10  6  10  13  24  1.1 × 10^{6} 
ClestFMHierC  10  ④  ⑨  15  8  1.1 × 10^{6} 
ClestFMHierS  20  10  15  15  1  1.1 × 10^{6} 
ClestAdjKmeansR  ⑤  ④  3  ②  2  1.1 × 10^{6} 
ClestAdjKmeansA  12  ➌  3  ②  ➎  1.4 × 10^{6} 
ClestAdjKmeansC  9  ②  2  ②  ④  1.4 × 10^{6} 
ClestAdjKmeansS  20  6  13  6  10  1.8 × 10^{6} 
ClestAdjHierA  13  ➌  3  ②  11  1.1 × 10^{6} 
ClestAdjHierC  9  ④  2  ②  ④  1.1 × 10^{6} 
ClestAdjHierS  4  7  ⑨  7  26  1.1 × 10^{6} 
ClestFKmeansR  ➏  ➌  15  ②  ④  1.2 × 10^{6} 
ClestFKmeansA  8  6  10  14  11  1.4 × 10^{6} 
ClestFKmeansC  9  5  12  ➌  ④  1.5 × 10^{6} 
ClestFKmeansS  21  10  15  15  1  1.8 × 10^{6} 
ClestFHierA  ⑦  7  10  15  27  1.1 × 10^{6} 
ClestFHierC  9  ➌  13  ➌  ➎  1.1 × 10^{6} 
ClestFHierS  28  10  15  15  1  1.1 × 10^{6} 
Gold solution  6  3  8  3  5   
Results for Consensus
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  CNS Rat  Leukemia  NCI60  Lymphoma  
KmeansR  ➏  ④  ⑦  ➌  ⑥  1.0 × 10^{6}  1.3 × 10^{6}  3.4 × 10^{6}  3.0 × 10^{6} 
KmeansA  ⑦  ➌  ➑  ➌  ⑥  1.3 × 10^{6}  1.6 × 10^{6}  3.0 × 10^{6}  2.6 × 10^{6} 
KmeansC  ➏  ➌  ➑  ④  ⑥  1.3 × 10^{6}  1.8 × 10^{6}  2.9 × 10^{6}  2.6 × 10^{6} 
KmeansS  ⑦  ④  10  ②  ⑥  1.5 × 10^{6}  1.8 × 10^{6}  3.2 × 10^{6}  2.8 × 10^{6} 
HierA  ⑦  ➌  ➑  ➌  ➎  9.2 × 10^{5}  7.9 × 10^{5}  2.0 × 10^{6}  1.9 × 10^{6} 
HierC  ➏  ④  ➑  5  ⑥  8.7 × 10^{5}  6.9 × 10^{5}  2.0 × 10^{6}  2.0 × 10^{6} 
HierS  2  8  10  ➌  10  9.4 × 10^{5}  8.0 × 10^{5}  2.0 × 10^{6}  1.7 × 10^{6} 
Gold solution  6  3  8  3  5         
Results for FOM
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  PBM  CNS Rat  Leukemia  NCI60  Lymphoma  
KmeansR  ⑦  ➌  6  9  ④    2.9 × 10^{4}  1.9 × 10^{5}  1.3 × 10^{6}  6.7 × 10^{5} 
KmeansA  ⑦  ➌  6  6  ④    2.2 × 10^{4}  9.3 × 10^{4}  5.5 × 10^{5}  2.7 × 10^{5} 
KmeansC  ⑦  8  ➑  ④  ④    1.9 × 10^{4}  9.4 × 10^{4}  5.5 × 10^{5}  2.6 × 10^{5} 
KmeansS  ➏  ➌  ➑  8  ④    2.9 × 10^{4}  1.0 × 10^{5}  7.1 × 10^{5}  3.6 × 10^{5} 
RR0  10  5  ⑦  ④  7    2.6 × 10^{3}  3.1 × 10^{4}  1.7 × 10^{5}  5.3 × 10^{4} 
RR5  ➏  ➌  ⑦  5  ➎    3.9 × 10^{3}  3.7 × 10^{4}  2.1 × 10^{5}  7.6 × 10^{4} 
RR2  8  5  ➑  5  ➎    3.4 × 10^{3}  3.8 × 10^{4}  2.2 × 10^{5}  7.2 × 10^{4} 
HierA  ⑦  ➌  ⑦  6  ⑥    1.6 × 10^{3}  7.5 × 10^{3}  5.1 × 10^{4}  1.8 × 10^{4} 
HierC  10  ④  ⑦  7  ➎    1.6 × 10^{3}  7.7 × 10^{3}  4.5 × 10^{4}  1.8 × 10^{4} 
HierS  3  7  ⑦  9      1.6 × 10^{3}  7.4 × 10^{3}  4.9 × 10^{5}  1.7 × 10^{4} 
Gold solution  6  3  8  3  5  18         
Results for GFOM
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  PBM  CNS Rat  Leukemia  NCI60  Lymphoma  
KmeansR  ⑦  5  6  8  ⑥  7  2.9 × 10^{4}  1.9 × 10^{5}  1.3 × 10^{6}  6.7 × 10^{5} 
KmeansA  2  ➌  ⑦  ②  ⑥  6  2.2 × 10^{4}  9.3 × 10^{4}  5.5 × 10^{5}  2.7 × 10^{5} 
KmeansC  2  ④  2  ④  7  6  1.9 × 10^{4}  9.4 × 10^{4}  5.5 × 10^{5}  2.6 × 10^{5} 
KmeansS  3  5  2  ②  ⑥  8  2.9 × 10^{4}  1.0 × 10^{5}  7.1 × 10^{5}  3.6 × 10^{5} 
RR0  2  7  2  5  7  4  2.6 × 10^{3}  3.1 × 10^{4}  1.7 × 10^{5}  5.3 × 10^{4} 
RR5  4  ④  2  6  ⑥  4  3.9 × 10^{3}  3.7 × 10^{4}  2.1 × 10^{5}  7.6 × 10^{4} 
RR2  ⑦  5  2  5  8  4  3.4 × 10^{3}  3.8 × 10^{4}  2.2 × 10^{5}  7.2 × 10^{4} 
HierA  3  ➌  ⑦  ②  8  2  1.6 × 10^{3}  7.5 × 10^{3}  5.1 × 10^{4}  1.8 × 10^{4} 
HierC  10  ④  2  ④  8  2  1.6 × 10^{3}  7.7 × 10^{3}  4.5 × 10^{4}  1.8 × 10^{4} 
HierS  ⑦  ②  2  ②  2  2  1.6 × 10^{3}  7.4 × 10^{3}  4.9 × 10^{5}  1.7 × 10^{4} 
Gold solution  6  3  8  3  5  18         
Results for DIFFFOM
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  PBM  CNS Rat  Leukemia  NCI60  Lymphoma  
KmeansR  4  ➌  4  ➌  3  4  2.9 × 10^{4}  1.9 × 10^{5}  1.3 × 10^{6}  6.7 × 10^{5} 
KmeansA  ⑦  ➌  3  6  3  8  2.2 × 10^{4}  9.3 × 10^{4}  5.5 × 10^{5}  2.7 × 10^{5} 
KmeansC  ⑦  ➌  ⑦  ④  3  5  1.9 × 10^{4}  9.4 × 10^{4}  5.5 × 10^{5}  2.6 × 10^{5} 
KmeansS  ⑦  ➌  12  8  3  10  2.9 × 10^{4}  1.0 × 10^{5}  7.1 × 10^{5}  3.6 × 10^{5} 
RR0  10  ④  17  ④  3  3  2.6 × 10^{3}  3.1 × 10^{4}  1.7 × 10^{5}  5.3 × 10^{4} 
RR5  4  ➌  11  ➌  3  4  3.9 × 10^{3}  3.7 × 10^{4}  2.1 × 10^{5}  7.6 × 10^{4} 
RR2  ⑦  ➌  17  ➌  3  7  3.4 × 10^{3}  3.8 × 10^{4}  2.2 × 10^{5}  7.2 × 10^{4} 
HierA  ⑦  ➌  3  6  3  25  1.6 × 10^{3}  7.5 × 10^{3}  5.1 × 10^{4}  1.8 × 10^{4} 
HierC  9  ➌  ⑦  7  3  7  1.6 × 10^{3}  7.7 × 10^{3}  4.5 × 10^{4}  1.8 × 10^{4} 
HierS  20  7  22  9  7  20  1.6 × 10^{3}  7.4 × 10^{3}  4.9 × 10^{5}  1.7 × 10^{4} 
Gold solution  6  3  8  3  5  18         
Summary of results for the best performing measures
Precision  Timing  

CNS Rat  Leukemia  NCI60  Lymphoma  Yeast  CNS Rat  Leukemia  NCI60  Lymphoma  
WCSSKmeansC  ⑤  ➌  ➑  8  ④  1.7 × 10^{3}  1.3 × 10^{3}  5.0 × 10^{3}  4.0 × 10^{3} 
WCSSRR0  ⑤  ④  ⑨  ➑  ④  1.2 × 10^{3}  8.0 × 10^{2}  4.1 × 10^{3}  3.0 × 10^{3} 
GGapKmeansR  ⑦  ➌  4  ④  ⑥  2.4 × 10^{3}  2.0 × 10^{3}  8.3 × 10^{4}  8.4 × 10^{3} 
GGapRR5  ⑤  ④  2  ②  ④  1.2 × 10^{3}  8.0 × 10^{2}  4.5 × 10^{4}  3.2 × 10^{3} 
FOMKmeansC  ⑦  8  ➑  ④  ④  1.9 × 10^{4}  9.4 × 10^{4}  5.5 × 10^{5}  2.6 × 10^{5} 
FOMKmeansS  ➏  ➌  ➑  8  ④  2.9 × 10^{4}  1.0 × 10^{5}  7.1 × 10^{5}  3.6 × 10^{5} 
FOMRR5  ➏  ➌  ⑦  5  ➎  3.9 × 10^{3}  3.7 × 10^{4}  2.1 × 10^{5}  7.6 × 10^{4} 
FOMHierA  ⑦  ➌  ⑦  6  ⑥  1.6 × 10^{3}  7.5 × 10^{3}  5.1 × 10^{4}  1.8 × 10^{4} 
DIFFFOMKmeansC  ⑦  ➌  ⑦  ④  3  1.9 × 10^{4}  9.4 × 10^{4}  5.5 × 10^{5}  2.6 × 10^{5} 
ClestFKmeansR  ➏  ➌  15  ②  ④  1.2 × 10^{6}       
ClestFMKmeansR  8  ④  ➑  ②  ④  1.2 × 10^{6}       
ConsensusKmeansR  ➏  ④  ⑦  ➌  ⑥  1.0 × 10^{6}  1.3 × 10^{6}  3.4 × 10^{6}  3.0 × 10^{6} 
ConsensusKmeansA  ⑦  ➌  ➑  ➌  ⑥  1.3 × 10^{6}  1.6 × 10^{6}  3.0 × 10^{6}  2.6 × 10^{6} 
ConsensusKmeansC  ➏  ➌  ➑  ④  ⑥  1.3 × 10^{6}  1.8 × 10^{6}  2.9 × 10^{6}  2.6 × 10^{6} 
ConsensusKmeansS  ⑦  ④  10  ②  ⑥  1.5 × 10^{6}  1.8 × 10^{6}  3.2 × 10^{6}  2.8 × 10^{6} 
ConsensusHierA  ⑦  ➌  ➑  ➌  ➎  9.2 × 10^{5}  7.9 × 10^{5}  2.0 × 10^{6}  1.9 × 10^{6} 
ConsensusHierC  ➏  ④  ➑  5  ⑥  8.7 × 10^{5}  6.9 × 10^{5}  2.0 × 10^{6}  2.0 × 10^{6} 
Gold solution  6  3  8  3  5         
Moreover, in what follows, for each cell in a table displaying precision results, a number in a circle with a black background indicates a prediction in agreement with the number of classes in the dataset, while a number in a circle with a white background indicates a prediction that differs, in absolute value, by 1 from the number of classes in the dataset; when the prediction is one cluster, i.e. Gap statistics, this symbol rule is not applied because the prediction means no cluster structure in the data; a number not in a circle indicates the remaining predictions. As detailed in each table, cells with a dash indicate that either the experiment was stopped, because of its high computational demand, or that the measure gives no useful indication. The timing results are reported only on the four smallest datasets. Indeed, for Yeast and PBM, the computational demand is such on some measures that either they had to be stopped or they took weeks to complete. For those two datasets, the experiments we report were done using more than one machine.
WCSS and its approximations
For each algorithm, each of the WCSS approximations (denoted WCSSRR0, WCSSRR2, WCSSRR5, respectively), and each dataset, we have computed WCSS for a number of cluster values in the range [2,30]. The relevant plots are in the Figures section at the supplementary material web site: Fig. S1 for the Kmeans algorithms and WCSS approximations and Fig. S2 for the hierarchical algorithms.
As outlined in the Methods section, given the relevant WCSS curve, k* is predicted as the abscissa closest to the "knee" in that curve. The values resulting from the application of this methodology to the relevant plots are reported in Table 1 together with timing results for the relevant datasets.
We have that WCSS performs well with KmeansC and KmeansA, on the first five datasets, while it gives no reasonably correct indication on PBM. It is a poor performer with the other clustering algorithms. Those facts give strong indication that WCSS is algorithmdependent. Finally, the failure of WCSS, with all algorithms, to give a good prediction for PBM indicates that WCSS may not be of any use on large datasets having a large number of clusters.
As for its approximations, it is evident that they perform better than the original WCSS curve (obtained via all other clustering algorithms we have experimented with). That is, they are among the best performers in Table 1. Moreover, depending on the dataset, they are from a few times to an order of magnitude faster than the Kmeans algorithms.
Overall, the best performers are KmeansC and WCSSRR0. The relative results are reported in Table 9 for comparison with the performance of the other measures.
KL
Following the same experimental setup of WCSS, we have computed the KL measure, for each dataset and each algorithm. The results, summarized in Table 2, are rather disappointing: the measure provides some reliable indication, accross algorithms, only on the Leukemia and the Lymphoma datasets. Due to such a poor performance, no results are reported in Table 9 for comparison with the performance of the other measures.
Gap and its geometric approximation
For each dataset and each clustering algorithm, we compute three versions of Gap, namely GapPs, GapPc and GapPr, for a number of cluster values in the range [1,30]. GapPs uses the Poisson null model, GapPc the Poisson null model aligned with the principal components of the data while GapPr uses the permutational null model (see Methods section). For each of them, we perform a Monte Carlo simulation, 20 steps, in which the measure returns an estimated number of clusters for each step. Each simulation step is based on the generation of 10 data matrices from the null model used by the measure. At the end of each Monte Carlo simulation, the number with the majority of estimates is taken as the predicted number of clusters. Occasionally, there are ties and we report both numbers. The relevant histograms are displayed at the supplementary material web site (Figures section): Figs. S3S8 for GapPs, Figs. S9S13 for GapPc and Figs. S14S19 for GapPr. The results are summarized in Table T1 at the supplementary material web page (Tables section). For PBM and GapPc, each experiment was terminated after a week, since no substantial progress was being made towards its completion.
As for GGap, the geometric approximation of Gap, we have computed, for each algorithm and each dataset, the corresponding WCSS curve and its approximations in the interval [1,30]. We have then applied the rule described in the Methods section to get the value of k*. The results are summarized in Table 3. As it is evident from the table, the overall performance of GGap is clearly superior to Gap, irrespective of the null model. Moreover, depending on the dataset, it is from two to three orders of magnitude faster. The best performers are KmeansR and WCSSRR0. The relative results are reported in Table 9 for comparison with the performance of the other measures.
Clest
For CNS Rat and Yeast and each clustering algorithm, we compute Clest for a number of cluster values in the range [2,30] while, for Leukemia, NCI60 and Lymphoma, the ranges [2,10], [2,15] and [2,15] are used, respectively, due to the small size of the datasets. Moreover, although experiments have been started with PBM, no substantial progress was made after a week of execution and, for each clustering algorithm, the corresponding experiment was terminated. Following the same experimental setup of Dudoit and Fridlyand, for each cluster value k, we perform 20 resampling steps and 20 iterations. In each step, 66% of the rows of the data matrix are extracted, uniformly and at random, to create a learning set, to be given to the clustering algorithm to be clustered in k groups. As one of its input parameters, Clest requires the use of an external index E to establish the level of agreement between two partitions of a dataset. We use each of the following: the FM index [31], Adj (the Adjusted Rand index) [32] and F (the Findex) [33].
The results are summarized in Table 4, where the timing results for the Leukemia, NCI60 and Lymphoma datasets were excluded since the experiments were performed on a smaller interval of cluster values with respect to CNS Rat. This latter interval is the standard one we are using to make consistent comparisons across measures and algorithms.
The results show that Clest has severe time demand limitations on large datasets. It also seems to achieve a better performance, accross algorithms with Adj and F. Moreover, it is clearly algorithmdependent, with KmeansR being the best performer with both FM and F. Those results are reported in Table 9 for comparison with the performance of the other measures.
ME
For each of the first five datasets and each clustering algorithm, we compute ME for a number of cluster values in the range [2,30]. Following the same experimental setup of BenHur et al., for each cluster value k, we perform 100 iterations. In each step, we compute two datasets to be given to the algorithm to be clustered in k groups. Each dataset is created by extracting uniformly and at random 80% of the rows. The prediction of k* is based on the plot of the corresponding histograms, as illustrated in the Methods section. As for the external indexes, we have used the same three used for Clest. The histograms obtained from such an experimentation are reported at the supplementary material web site in Figs. S20S124. As for PBM, the computations were stopped because of their computational demand. A summary of the results is given in Table T2 at the supplementary material web site for completeness only. Indeed, the performance of ME was rather disappointing, with the exception of Leukemia and Lymphoma, accross algorithms and external indexes.
Consensus
For each of the first five datasets and each clustering algorithm, we compute Consensus for a number of cluster values in the range [2,30]. Following the same experimental setup of Monti et al., for each cluster value k, we perform 500 resampling steps. In each step, 80% of the rows of the matrix are extracted uniformly and at random to create a new dataset, to be given to the clustering algorithm to be clustered in k groups. The prediction of k* is based on the plot of two curves, Δ(k) and Δ'(k), as a function of the number k of clusters. Both curves are defined in the Methods section. As suggested by Monti et al., the first curve is suitable for hierarchical algorithms while the second suits nonhierarchical ones. We did not experiment for PBM, since Consensus was very slow (execution on each algorithm was terminated after a week). Contrary to Monti et al. indication, we have computed the Δ(k) curve for all algorithms on the first five datasets, for reasons that will be selfevident shortly. The corresponding plots are available at the supplementary material web site (Figures section) as Figs. S125S134. We have also computed the Δ(k) curve for the Kmeans algorithms, on the same datasets. Since those curves are nearly identical to the Δ(k) ones, they are omitted. In order to predict the number of clusters in the datasets, we have used, for all curves, the rule reported and explained in the Methods section: take as k* the abscissa corresponding to the smallest nonnegative value where the curve starts to stabilize; that is, no big variation in the curve takes place from that point on. We performed such an analysis on the Δ(k) curves and the results are summarized in Table 5, together with the corresponding timing results.
As for the precision of Consensus, all algorithms perform well, except for HierS. The results also show that the Δ curve may be adequate for all algorithms. This contradicts the recommendation by Monti et al. and a brief explanation of the reason is given in the Methods section.
In conclusion, Consensus seems to be limited by time demand that makes it not applicable to large datasets. However, on small and medium sized datasets, it is remarkably precise across algorithms. In fact, except for HierS, the performance of Consensus is among the best and reported in Table 9 for comparison with the performance of the other measures.
FOM and its extensions and approximations
For each algorithm, each of the FOM approximations (denoted FOMRR0, FOMRR2, FOMRR5, respectively) and each dataset, we have followed the same methodology outlined for WCSS. The relevant plots are in Figs. S135S136 at the supplementary material web site (Figures section). The values resulting from the application of this methodology to the relevant plots are reported in Table 6 together with timing results for the relevant datasets. Using the same experimental setting, we have also computed the k* predicted by GFOM and DIFFFOM, the extensions of FOM proposed here. The results are in Tables 7 and 8, respectively. As those results show, GFOM did not perform as well as the other two. Moreover, both FOM and DIFFFOM are algorithmdependent and give no useful indication on large datasets. As for the approximations of FOM, i.e., FOMRR0, FOMRR2, FOMRR5, they compare very well with the Kmeans algorithms in terms of precision and they are an order of magnitude faster. The best performing methods, both for FOM and DIFFFOM, are reported in Table 9 for comparison with the performance of the other measures.
Question (B): relative merits of each measure
The discussion here refers to Table 9. It is evident that the Kmeans algorithms have superior performance with respect to the hierarchical ones, although HierA has an impressive and unmatched performance with Consensus. The approximation algorithms we have proposed for both WCSS and FOM are among the best performers. GGap and DIFFFOM also guarantee, with a proper choice of algorithms, a good performance. In particular, GGap is orders of magnitude faster than Gap and more precise.
However, Consensus and FOM stand out as being the most stable across algorithms. In particular, Consensus has a remarkable stability performance accross algorithms and datasets.
For large datasets such as PBM, our experiments show that all the measures are severely limited due either to speed (Clest, Consensus, GapPc) or to precision as well as speed (the others). In our view, this fact stresses even more the need for good data filtering and dimensionality reduction techniques since they may help reduce such datasets to sizes manageable by the measures we have studied.
It is also obvious that, when one takes computer time into account, there is a hierarchy of measures, with WCSS being the fastest and Consensus the slowest. We see from Table 9 that there is a natural division of methods in two groups: slow (Clest, Consensus, Gap) and fast (the other measures). Since there are at least two orders of magnitude of difference in time performance between the two groups, it seems reasonable to use one of the fast methods, for instance GGap, to limit the search interval for k*. One can then use Consensus in the narrowed interval. Although it may seem paradoxical, despite its precision performance, FOM does not seem to be competitive in this scenario. Indeed, it is only marginally better than the best performing of WCSS and GGap but at least an order of magnitude slower in time.
When one does not account for time, Consensus seems to be the clear winner since it offers good precision performance accross algorithms at virtually the same price in terms of time performance.
Conclusion
Prior to this research, all the measures we have considered here were perceived as adequate for inferring the number of clusters in a dataset, in particular for gene expression data. This study provides further insights into the relative merits of each of the measures we have considered, from which more accurate and useful guidelines for their use can be inferred. Moreover, extensions and approximations of those measures have also been proposed and they turn out to be competitive, both in time and precision. We have also offered a comparison among three resamplingbased prediction methods that is not available elsewhere in the literature.
Overall, Consensus results to be the method of choice, although the fast algorithms may be of great help in limiting the search interval for k*.
It is also to be stressed that no measure performed well on large datasets. In view of this finding, data reduction techniques such as filtering and dimensionality reduction become even more important for class discovery in microarray data. Another promising avenue of research is to design fast approximation algorithms for the computation of the slowest measures, in particular Consensus. Finally, we remark that Gap, Clest, ME and Consensus have various parameters that a user needs to specify. Those choices may affect both time performance and precision. Yet, no experimental study, addressing the issue of parameter selection for those methods, seems to be available in the literature.
Methods
Internal measures
WCSS and its approximations
The approximation of the WCSS curve proposed here is based on the idea of reducing the number of executions by a clustering algorithm A for the computation of WCSS(k), for each k in a given interval [1, k_{ max }]. In fact, given an integer R > 0, the approximate algorithm to compute WCSS uses algorithm A to obtain a clustering solution with k clusters only for values of k multiples of R. We refer to R as the refresh step. For all other k's, a clustering solution is obtained by merging two clusters in a chosen clustering solution already available. The procedure below gives the high level details. It takes as input R, A, D and k_{ max }. Algorithm A must be able to take as input a clustering solution with k clusters and refine it to give as output a clustering solution with the same number of clusters.
Procedure WCSSR(R, A, D, k_{ max })
(1) Compute a clustering solution ${P}_{{k}_{max}}$ with k_{ max }clusters using algorithm A on dataset D. Compute WCSS(k_{ max }) using ${P}_{{k}_{max}}$.
(2) For k := k_{ max } 1 down to k = 1, execute steps (2.a) (2.b) and (2.c).
(2.a) (Merge) Merge the two clusters in P_{k+1}with minimum Euclidean distance between centroids to obtain a temporary clustering solution ${{P}^{\prime}}_{k}$ with k clusters.
(2.b) (Refresh) If (R = 0) or (k mod R > 0) set P_{ k }equal to ${{P}^{\prime}}_{k}$. Else compute new P_{ k }based on ${{P}^{\prime}}_{k}$. That is, ${{P}^{\prime}}_{k}$ is given as input to A, as an initial partition of D in k clusters, and P_{ k }is the result of that computation.
(2.c) Compute WCSS(k) using P_{ k }.
Technically, the main idea in the approximation scheme is to interleave the execution of a partitional clustering algorithm A with a merge step typical of agglomerative clustering. The gain in speed is realized by having a fast merge step, based on k + 1 clusters, to obtain k clusters instead of a new full fledged computation, starting from scratch, of the algorithm A to obtain the same number of clusters. The approximation scheme would work also for hierarchical algorithms, provided that they comply with the requirement that, given in input a dataset, they will return a partition into k groups. However, in this circumstance, the approximation scheme would be a nearly exact replica of the hierarchical algorithm. In conclusion, we have proposed a general approximation scheme, where the gain is realized when the merge step is faster than a complete computation of a clustering algorithm A. We have experimented with KmeansR and with values of the refresh step R = 0, 2, 5, i.e., the partitional clustering algorithm is used only once, every two and five steps, respectively.
KL
KL is based on WCSS, but it is automatic, i.e., a numeric value for k* is returned. LetDIFF(k) = (k  1)^{2/m}WCSS(k  1)  k^{2/m}WCSS(k)
 (i)
for k <k*, both DIFF(k) and DIFF(k + 1) should be large positive values.
 (ii)
for k > k*, both DIFF(k) and DIFF(k + 1) should be small values, and one or both might be negative.
 (iii)
for k = k*, DIFF(k) should be large positive, but DIFF(k + 1) should be relatively small (might be negative).
Notice that KL(k) is not defined for the important special case of k = 1, i.e., no cluster structure in the data.
Gap and its geometric approximation
The measures presented so far are either useless or not defined for the important special case k = 1. Tibshirani et al. [15] brilliantly combine techniques of hypothesis testing in statistics with the WCSS heuristic, to obtain Gap, a measure that can deal also with the case k = 1. In order to describe the method, we need to recall briefly null models used to test for the hypothesis of no cluster structure in a dataset, i.e., the null hypothesis. We limit ourselves to introduce the two that find common use in microarray data analysis [15], in addition to another closely related and classic one [34]:
(M.1) Ps (The Poisson Model). The items can be represented by points that are randomly drawn from a region R in mdimensional space. In order to use this model, one needs to specify the region within which the points are to be uniformly distributed. The simplest regions that have been considered are the mdimensional hypercube and hypersphere enclosing the points specified by the matrix D. Other possibilities, in order to make the model more datadependent, is to choose the convex hull enclosing the points specified by D.
(M.2) Pc (The Poisson Model Aligned with Principal Components of the Data). This is basically as (M.1), except that the region R is a hypercube aligned with the principal components of the data matrix D.
In detail, assume that the columns of D have mean zero and let D = UXV^{ T }be its singular value decomposition. Transform via D' = DV. Now, use D' as in (M.1) with sampling in a hypercube R to obtain a data set Z'. Back transform via Z = Z'V^{ T }to obtain a new dataset.
(M.3) Pr (The Permutational Model). Given the data matrix D, one obtains a new data matrix D' by randomly permuting the elements within the rows and/or the columns of D. In order to properly implement this model, care must be taken in specifying a proper permutation for the data since some similarity and distance functions may be insensitive to permutations of coordinates within a point.
That is, although D' is a random permutation of D, it may happen that the distance or similarity among the points in D' is the same as in D, resulting in indistinguishable datasets for clustering algorithms.
Procedure GP(ℓ, A, D, k_{ max })
(1) For 1 ≤ i ≤ ℓ, compute a new data matrix D_{ i }, using the chosen null model. Let D_{0} denote the original data matrix.
(1.a) For 0 ≤ i ≤ ℓ and 1 ≤ k ≤ k_{ max }, compute a clustering solution P_{i,k}on D_{ i }using algorithm A.
(2) For 0 ≤ i ≤ ℓ and 1 ≤ k ≤ k_{ max }, compute log(WCSS(k)) on P_{i,k}and store the result in matrix SL[i, k].
(2.a) For 1 ≤ k ≤ k_{ max }, compute $\text{Gap}(k)=\frac{1}{\ell}{\displaystyle {\sum}_{i=1}^{\ell}SL[i,k]SL[0,k]}$.
(2.b) For 1 ≤ k ≤ k_{ max }, compute the standard deviation sd(k) of the set of numbers {SL[1, k],... SL[ℓ, k ]} and let $s(k)=(\sqrt{1+\frac{1}{\ell}})sd(k)$.
(3) Return as k* the first value of k such that Gap(k) ≤ Gap(k + 1)  s(k + 1).
The prediction of k* is based on running a certain number of times the procedure GP taking then the most frequent outcome as the prediction. We also point out that further improvements and generalizations of Gap have been proposed in [30].
Clest
(1) For 2 ≤ k ≤ k_{ max }, perform steps (1.a)(1.d).
(1.a) For 1 ≤ h ≤ H, split the input dataset in L and T, the learning and training sets, respectively.
Cluster the elements of L in k clusters using algorithm A and build a classifier $\mathcal{C}$. Apply $\mathcal{C}$ to T in order to obtain a "gold solution" GS_{ k }. Cluster the elements of T in k groups GA_{ k }using algorithm A.
Let SIM[k, h] = E(GS_{ k }, GA_{ k }).
(1.b) Compute the observed similarity statistic t_{ k }= median(SIM[k, 1],..., SIM[k, H]).
(1.c) For 1 ≤ b ≤ ℓ, generate (via a null model), a data matrix D^{(b)}, and repeat steps (1.a) and (1.b) on D^{(b)}.
(1.d) Compute the average of these H statistics, and denote it with ${t}_{k}^{0}$. Finally, compute the pvalue p_{ k }of t_{ k }and let d_{ k }= t_{ k } ${t}_{k}^{0}$ be the difference between the statistic observed and its estimate expected value.
(2) Define a set K = {2 ≤ k ≤ k_{ max }: p_{ k }≤ p_{ max }and d_{ k }≥ d_{ min }}
(3) Based on K return a prediction for k* as: if K is empty then k* = 1, else k* = argmax _{k ∈ K}d_{ k }
ME
Let f denote a sampling ratio, i.e., the percentage of items one extracts from sampling a given dataset. The idea supporting ME is that the inherent structure in a dataset has been identified once one finds a k such that partitions into k clusters produced by a clustering algorithm are similar, when obtained by repeatedly subsampling the dataset. This idea can be formalized by the following algorithm, that takes as input parameters analogous to Clest except for f and Subs, this latter being a subsampling scheme that extracts f percentage items from D. It returns as output an (k_{ max } 1) × H array SIM, analogous to the one computed by Clest and whose role here is best explained once that the procedure is presented.
Procedure ME(f, H, A, E, D, Subs, k_{ max })
(1) For 2 ≤ k ≤ k_{ max }and 1 ≤ h ≤ H, perform steps (1.a)(1.c).
(1.a) Compute two subsamples D^{(1)} and D^{(2)} of D, via Subs.
(1.b) For each D^{(i)}, compute a clustering solution GA_{k,i}with k clusters, using algorithm A, 1 ≤ i ≤ 2.
(1.c) Let $G{{A}^{\prime}}_{k,1}$ be GA_{k,1}, but restricted to the elements common to D^{(1)} and D^{(2)}. Let $G{{A}^{\prime}}_{k,2}$ be defined analogously. Let SIM[k, h] = E($G{{A}^{\prime}}_{k,1}$, $G{{A}^{\prime}}_{k,2}$).
Consensus
Consensus is also based on resampling techniques. In analogy with WCSS, one needs to analyze a suitably defined curve in order to find k*. It is best presented as a procedure. With reference to GP, the two new parameters it takes as input are a resampling scheme Sub, i.e., a way to sample from D to build a new data matrix, and the number H of resampling iterations.
Procedure Consensus(Sub, H, A, D, k_{ max })
(1) For 2 ≤ k ≤ k_{ max }, initialize to empty the set M of connectivity matrices and perform steps (1.a) and (1.b).
(1.a) For 1 ≤ h ≤ H, compute a perturbed data matrix D^{(h)}using resampling scheme Sub; cluster the elements in k clusters using algorithm A and D^{(h)}. Compute a connectivity matrix M^{(h)}and insert it into M.
(1.b) Based on the connectivity matrices in M, compute a consensus matrix ${\mathcal{M}}^{(k)}$.
(2) Based on the k_{ max } 1 consensus matrices, return a prediction for k*.
 (i)
For each k ≤ k*, the area A(k) markedly increases. This results in an analogous pronounced decrease of the Δ and Δ' curves.
 (ii)
For k > k*, the area A(k) has no meaningful increases. This results in a stable plot of the Δ and Δ' curves.
As pointed out in the previous section, our recommendation to use the Δ curve instead if the Δ' curve for nonhierarchical algorithms contradicts the recommendation by Monti et al. The reason is the following: A(k) is a value that is expected to behaves like a nondecreasing function of k, for hierarchical algorithms. Therefore Δ(k) would be expected to be positive or, when negative, not too far from zero. Such a monotonicity of A(k) is not expected for nonhierarchical algorithms. Therefore, another definition of Δ is needed to ensure a behavior of this function analogous to the hierarchical algorithms. We find that, for the partitional algorithms we have used, A(k) displays nearly the same monotonicity properties of the hierarchical algorithms. The end result is that the same definition of Δ can be used for both types of algorithms. To the best of our knowledge, Monti et al. defined the function Δ', but their experimentation was limited to hierarchical algorithms.
FOM and its extensions and approximations
FOM is a family of internal validation measures introduced by Ka Yee Yeung et al. specifically for microarray data and later extended in several directions by Datta and Datta [36]. Such a family is based on the jackknife approach and it has been designed for use as a relative measure assessing the predictive power of a clustering algorithm, i.e., its ability to predict the correct number of clusters in a dataset. Experiments by Ka Yee Yeung et al. show that the FOM family of measures satisfies the following properties, with a good degree of accuracy. For a given clustering algorithm, it has a low value in correspondence with the number of clusters that are really present in the data. Moreover, when comparing clustering algorithms for a given number of clusters k, the lower the value of FOM for a given algorithm, the better its predictive power. We now review this work, using the 2norm FOM, which is the most used instance in the FOM family.
Assume that a clustering algorithm is given the data matrix D with column e excluded. Assume also that, with that reduced dataset, the algorithm produces a set of k clusters C = {c_{1},..., c_{ k }}. Let D(g, e) be the expression level of gene g and m_{ i }(e) be the average expression level of condition e for genes in cluster c_{ i }.
When (9) divides (7), we refer to (7) and (8) as adjusted FOMs. We use the adjusted aggregate FOM for our experiments and, for brevity, we refer to it simply as FOM.

The approximation of FOM is based on exactly the same ideas and schemes presented for the approximation of WCSS. Indeed, FOM(e, k) in equation (7) can be approximated in exactly the same way as WCSS(k). Then, one uses equation (8) to approximate FOM. We denote those approximations as FOMR.

The GGap idea can be extended verbatim to FOM to make it automatic and to obtain GFOM.

The KL technique can be extended to FOM, although the extension is subtle. Indeed, a verbatim extension of it would yield poor results (experiments not shown). Rather, consider formula (3), with WCSS(k) substituted by FOM(k). As k increases towards k*, DIFF(k) increases to decrease sharply and then assume nearly constant values as it moves away from k*. Fig. 7 provides a small example of this behavior. So, one can take as k* the abscissa corresponding to the maximum of DIFF(k) in the interval [3, k_{ max }]. We refer to this method as DIFFFOM.
Availability
All software and datasets involved in our experimentation are available at the supplementary material web site. The software is given in a jar executable file for a Java Run Time environment. It works for Linux (various versions—see supplementary material web site), Mac OS X and Windows operating systems. Minimal system requirements are specified at the supplementary material web site, together with installation instructions. Moreover, we also provide the binaries of Kmeans and hierarchical methods.
Declarations
Acknowledgements
Part of this work is partially supported by Italian Ministry of Scientific Research, FIRB Project "Bioinfomatica per la Genomica e la Proteomica", FIRB Project "Algoritmi per la Scoperta ed il Ritrovamento di Patterns in Strutture Discrete, con Applicazioni alla Bioinformatica". The authors would also like to thank Mz Margaret Gagie for providing us with very valuable comments on an earlier version of this manuscript and Dr. Chiara Romualdi for preparing for us the Lymphoma and NCI60 datasets, according to the procedures indicated by Dudoit and Fridlyand.
Authors’ Affiliations
References
 Stanford Microarray DataBase[http://genomewww5.stanford.edu/]
 Everitt B: Cluster Analysis. London: Edward Arnold; 1993.Google Scholar
 Hansen P, Jaumard P: Cluster Analysis and Mathematical Programming. Mathematical Programming 1997, 79: 191–215.Google Scholar
 Hartigan JA: Clustering Algorithms. John Wiley and Sons; 1975.Google Scholar
 Jain AK, Murty MN, Flynn PJ: Data Clustering: a Review. ACM Computing Surveys 1999, 31(3):264–323. 10.1145/331499.331504View ArticleGoogle Scholar
 Kaufman L, Rousseeuw PJ: Finding Groups in Data: An Introduction to Cluster Analysis. New York: Wiley; 1990.View ArticleGoogle Scholar
 Mirkin B: Mathematical Classification and Clustering. Kluwer Academic Publisher; 1996.View ArticleGoogle Scholar
 Rice JA: Mathematical Statistics and Data Analysis. Wadsworth; 1996.Google Scholar
 Hastie T, Tibshirani R, Friedman J: The Elements of Statistical Learning. Springer; 2003.Google Scholar
 Handl J, Knowles J, Kell DB: Computational Cluster Validation in Postgenomic Data Analysis. Bioinformatics 2005, 21(15):3201–3212. 10.1093/bioinformatics/bti517View ArticlePubMedGoogle Scholar
 Milligan GW, Cooper MC: An examination of procedures for determining the number of clusters in a data set. Psychometrika 1985, 50: 159–179. 10.1007/BF02294245View ArticleGoogle Scholar
 Dudoit S, Fridlyand J: A Predictionbased Resampling Method for Estimating the Number of Clusters in a Dataset. Genome Biol 2002, 3(7):RESEARCH0036. 10.1186/gb200237research0036PubMed CentralView ArticlePubMedGoogle Scholar
 Monti S, Tamayo P, Mesirov J, Golub T: Consensus Clustering: A resamplingbased Method for Class Discovery and Visualization of Gene Expression Microarray Data. Machine Learning 2003, 52: 91–118. 10.1023/A:1023949509487View ArticleGoogle Scholar
 Yeung KY, Haynor DR, Ruzzo WL: Validating Clustering for Gene Expression Data. Bioinformatics 2001, 17: 309–318. 10.1093/bioinformatics/17.4.309View ArticlePubMedGoogle Scholar
 Tibshirani R, Walther G, Hastie T: Estimating the Number of Clusters in a Dataset via the Gap Statistics. Journal Royal Statistical Society B 2001, 2: 411–423. 10.1111/14679868.00293View ArticleGoogle Scholar
 BenHur A, Elisseeff A, Guyon I: A Stability Based Method for Discovering Structure in Clustering Data. Pac Symp Biocomput 2002, 6–17.Google Scholar
 Krzanowski W, Lai Y: A Criterion for Determining the Number of Groups in a Dataset Using Sum of Squares Clustering. Biometrics 1985, 44: 23–34. 10.2307/2531893View ArticleGoogle Scholar
 McLachlan GJ, Khan N: On a resampling approach for tests on the number of clusters with mixture modelbased clustering of tissue samples. J Multivar Anal 2004, 90: 90–105. 10.1016/j.jmva.2004.02.002View ArticleGoogle Scholar
 Kapp A, Tibshirani R: Are clusters found in one dataset present in another dataset? Biostatistics 2007, 8: 9–31. 10.1093/biostatistics/kxj029View ArticlePubMedGoogle Scholar
 Di Gesú V, Giancarlo R, Lo Bosco G, Raimondi A, Scaturro D: Genclust: A Genetic Algorithm for Clustering Gene Expression Data. BMC Bioinformatics 2005, 6: 289. 10.1186/147121056289PubMed CentralView ArticlePubMedGoogle Scholar
 Wen X, Fuhrman S, Michaels GS, Carr GS, Smith DB, Barker JL, Somogyi R: Large Scale Temporal Gene Expression Mapping of Central Nervous System Development. Proc of The National Academy of Science USA 1998, 95: 334–339. 10.1073/pnas.95.1.334View ArticleGoogle Scholar
 Alizadeh A, Eisen M, Davis R, Ma C, Lossos I, Rosenwald A, Boldrick J, Sabet H, Tran T, Yu X, Powell J, Yang L, Marti G, Moore T, Hudson JJ, Lu L, Lewis D, Tibshirani R, Sherlock G, Chan W, Greiner T, Weisenburger D, Armitage J, Warnke R, Levy R, Wilson W, Grever M, Byrd J, Botstein D, Brown P, Staudt L: Distinct types of diffuse large Bcell lymphoma identified by gene expression profiling. Nature 2000, 403: 503–511. 10.1038/35000501View ArticlePubMedGoogle Scholar
 NCI 60 Cancer Microarray Project[http://genomewww.stanford.edu/NCI60]
 Spellman PT, Sherlock G, Zhang MQ, Iyer VR, Anders K, Eisen MB, Brown PO, Botstein D, Futcher B: Comprehensive Identification of Cell Cycle Regulated Genes of the Yeast Saccharomyces Cerevisiae by Microarray Hybridization. Mol Biol Cell 1998, 9: 3273–3297.PubMed CentralView ArticlePubMedGoogle Scholar
 Shamir R, Sharan R: Algorithmic Approaches to Clustering Gene Expression Data. In Current Topics in Computational Biology. Edited by: Jiang T, Smith T, Xu Y, Zhang MQ. Cambridge, Ma: MIT Press; 2003:120–161.Google Scholar
 Hartuv E, Schmitt A, Lange J, MeierEwert S, Lehrach H, Shamir R: An algorithm for Clustering of cDNAs for Gene Expression Analysis Using Short Oligonucleotide Fingerprints. Genomics 2000, 66: 249–256. 10.1006/geno.2000.6187View ArticlePubMedGoogle Scholar
 Jain A, Dubes R: Algorithms for Clustering Data. Englewood Cliffs: PrenticeHall; 1988.Google Scholar
 Priness I, Maimon O, BenGal I: Evaluation of Geneexpression Clustering via Mutual Information Distance Measure. BMC Bioinformatics 2007, 8: 111. 10.1186/147121058111PubMed CentralView ArticlePubMedGoogle Scholar
 Suppelementary material web site[http://www.math.unipa.it/~raffaele/suppMaterial/benchmarking/benchmarking/Index.html]
 Yan M, Ye K: Determining the Number of Clusters with the Weighted Gap Statistics. Biometrics 2007, 63: 1031–1037.View ArticlePubMedGoogle Scholar
 Fowlkes E, Mallows C: A Method for Comparing Two Hierarchical Clusterings. Journal of the American Statistical Association 1983, 78: 553–584. 10.2307/2288117View ArticleGoogle Scholar
 Hubert L, Arabie P: Comparing Partitions. Journal of Classification 1985, 2: 193–218. 10.1007/BF01908075View ArticleGoogle Scholar
 Rijsbergen CV: Information Retrieval. second edition. London: Butterworths; 1979.Google Scholar
 Gordon AD: Null Models in Cluster Validation. In From Data to Knowledge: Theoretical and Practical Aspects of Classification. Springer Verlag; 1996:32–44.View ArticleGoogle Scholar
 Breckenridge JN: Replicating Cluster Analysis: Method, Consistency, and Validity. Multivariate Behavioral Research 1989, 24(2):147–161. 10.1207/s15327906mbr2402_1View ArticleGoogle Scholar
 Datta S, Datta S: Comparisons and validation of Statistical Clustering Techniques for Microarray Gene Expression Data. Bioinformatics 2003, 19: 459–466. 10.1093/bioinformatics/btg025View ArticlePubMedGoogle Scholar
Copyright
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.