# How to Group Genes according to Expression Profiles?

Authors: Julio A. Di Rienzo; Silvia G. Valdano; Paula Fernández
Journal: International Journal of Plant Genomics
 (2011)

---

## Abstract

The most commonly applied strategies for identifying genes with a common response profile are based on clustering algorithms. These methods have no explicit rules to define the appropriate number of groups of genes. Usually the number of clusters is decided on heuristic criteria or through the application of different methods proposed to assess the number of clusters in a data set. The purpose of this paper is to compare the performance of seven of these techniques, including traditional ones, and some recently proposed. All of them produce underestimations of the true number of clusters. However, within this limitation, thegDGC algorithm appears to be the best. It is the only one that explicitly states a rule for cutting a dendrogram on the basis of a testing hypothesis framework, allowing the user to calibrate the sensitivity, adjusting the significance level.


---

## Body

## 1. Introduction

One of the main purposes of microarray experiments is to discover genes having differential expression level among a set a treatment conditions. Once the set of “candidates” genes is obtained, the problem of identifying those having a common response profile across experimental conditions remains open [1–3]. There are many strategies to proceed with. One of them is the exploration of gene’s ontology; the others—and more commonly applied—are based on unsupervised classification algorithms (cluster analysis). The main purpose of clustering techniques is to arrange a number of instances to produce meaningful grouping of them. Hierarchical clustering methods not only allow to group genes but also to trace their relationships. The outcome of hierarchical methods is displayed as a binary tree called dendrogram. A key point for interpreting a dendrogram is to decide where to cut it. This decision is equivalent to determine the number of clusters in the dataset. The problem is to realize which instances belong to different groups and which seem to be different just as the result of sampling errors.Several general-purpose methods have been proposed to estimate the optimal number of clusters in a dataset. The most popular are those introduced by Calinski and Harabasz [4], Hartigan [5], Sarle [6], and Kaufman and Rousseeuw [7].Tibshirani et al. [8] proposed the Gap statistic as a method for assessing the number of clusters in a dataset. It compares the log of the within-cluster sum of squares against its expected value under a suitable null distribution. Authors exemplified its application to the discovery of groups in a hierarchical clustering of genes of a microarray experiment.Another method, developed in the framework of large-scale gene-expression studies, is the algorithm called Hierarchical Ordered Partitioning and Collapsing Hybrid (HOPACH) [2]. It is a hierarchical tree of clusters and was developed for the purpose of discovering patterns within a hierarchical structure.A different approach to the problem of grouping is the visualization of data as a sample of a mixture of populations. The classification is the result of a mixture model estimation and selection that takes into account not only different number of populations present in the sample and their location parameters but also the dispersion and correlation parameters. A procedure that is representative of this kind of methods is the algorithmMClust of Fraley and Raftery [9, 10], which is based on the modeling of a multivariate normal mixture.Every method mentioned previously assumes that each instance is represented by ap-variate vector of attributes. In microarray experiments genes represent the instances and their expressions, observed in the contrasting experimental conditions, the p-variate vector of attributes. In this type of experiments there are, usually, several biological replicates for each experimental condition. None of the methods mentioned above makes an explicit use of those replicates. Valdano and Di Rienzo [11] proposed a multivariate generalization (gDGC) of a univariate pairwise comparison procedure [12] which uses replicates to estimate the cutting point of a dendrogram generated by a given linkage algorithm. In this way the procedure generates a partition within a hierarchical structure which is a nice property in the framework of microarray experiments data analysis.Considering the revisions of Tibshirani et al. [8], Lee et al. [1], Pollard and van der Laan [2], and Gentleman and Carey [3], regarding the problem of assessing the number of clusters in a dataset, we focused on the comparison of the last four methods mentioned before for estimating the number of clusters in a gene-expression matrix. However, we included general-purpose methods as reference. The comparison was done under a set of scenarios described in following sections.


## 2. Methods

Let the dataset{xij},i=1,…,n,j=1,…,p consist of p features measured on n-independent observations; that is, X is a nxp data matrix. Suppose that we have grouped the data into k clusters. Let Z be a cluster indicator matrix (zir=1 if the ith observation belongs to the rth cluster, else zir=0,i=1,…,n;r=1,…,k) and C a k×p matrix of cluster means:(1)C=(Z′Z)-1Z′X.Then, the pooled within-cluster sum of squares matrix is(2)W=(X-ZC)′(X-ZC),
and the between-cluster sum of squares matrix is(3)B=C′Z′ZC.The within-cluster and the between-cluster sums of squares pooled over variables, for a given numberk of clusters, are, respectively,(4)W(k)=trace(W),B(k)=trace(B).The following methods, proposed to estimate the optimum number of clusters in a dataset, are compared. They are identified by the name of the algorithm which implements them or by the initials of their authors.CH.  Calinski and Harabasz [4] based the selection of the number of clusters on the maximization of the between/within-cluster sums of squares ratio. The criterion to choose k is the one that maximizes CH(k):(5)CH(k)=B(k)/(k-1)W(k)/(n-k).H. Hartigan [5] used the ratio between the within-cluster sums of squares of k and (k+1) clusters suggesting the selection of k≥1 as the minimum k for which the ratio is lesser than 10:(6)H(k)=[(W(k)/W(k+1))-1](n-k-1).CCC.  Sarle [6] introduced the cubic clustering criterion based on the scaled log[1-E(R2)/(1-R2)], where R2 is the proportion of variance accounted by the clusters and E(R2) is the expected value of observed R2 assuming that the data are uniformly distributed on a hypercube:(7)CCC=log⁡⁡[1-E(R2)1-R2]⋅np*/2[(0.001+E(R2)]1.2.p* is the dimensionality of the between-cluster variation. The criterion to choose the optimum number of clusters is to select the number that maximizes CCC. Maximum value of the CCC index lesser than 2 indicates that there is no evidence of the existence of clusters in the dataset.CCCm.  We also included a modified version ofCCC for which the expected value of R2 is calculated from the null distribution described as a uniform distribution over a box aligned with the principal components of the data as was proposed by Tibshirani et al. [8] for the Gap statistic.Silh.  Kaufman and Rousseeuw [7] introduced the Silhouette statistic, a measurement, calculated for each observation, based on a standardized difference between the average distance of the ith observation to each other in the same cluster a(i) and the average distance to the observations in the nearest cluster b(i):(8)s(i)=b(i)-a(i)max⁡(a(i),b(i)).They proposed to choose the optimal number of clusters as the value maximizing the averagesilhouette. It is implemented in the function silcheckin the hopachR-package [13].Gap.  Tibshirani et al. [8] used the gap statistic for estimating the number of clusters in a dataset. The gap statistic compares the log of the within-cluster sum of squares against its expected value under a suitable null distribution of the dataset:(9)gap⁡(k)=E[log⁡(W(k))]-log⁡(W(k)).The criterion to select the numberk of clusters is, in this case, the lesser k such that gap(k)≥gap(k+1)-s(k+1), where s(k+1) is the standard deviation of a prediction of gap when the number of clusters is (k+1). For the calculation of E[log(W(k))], Tibshirani et al. [8] generate a null distribution from a uniform distribution over a box aligned with the principal components of the data. The authors argued that this way of generating the data takes into account the shape of the distribution of the original observations and makes the procedure rotationally invariant, as long as the clustering method itself is invariant.HOPACH.  Pollard and van der Laan [2] proposed another application of the Silhouette statistics: the Hierarchical Ordered Partitioning and Collapsing Hybrid (HOPACH) procedure which iteratively applies a partitioning algorithm to produce a hierarchical tree of clusters. It is implemented in the hopach function of the hopachR-package [13]. At each node, a cluster is partitioned into two or more smaller clusters and, before the next partitioning step, any similar clusters are merged. The algorithm estimates the optimal number of clusters based on median split silhouette criterion. The function can be called passing to it a data frame or a distance matrix. We try both: passing the data frame of the average gene-expressions (HOPACHc) and the Mahalanobis distances matrix (HOPACHm). All other arguments were left to their default settings.MClust. Fraley and Raftery [9, 10] proposed a method of clustering that is based on the assumption that the dataset is a sample of a multivariate normal mixture. The method fits a number of models for a number of populations differing not only in the location parameter but also in the variance-covariance matrix within a set of plausible simplified correlation structure. The model selection rule is based on the Bayesian Information Criterion. As part of the output of this method, the estimated number of clusters in the data is obtained. The input to this method is the matrix of average expression level for each gene (rows) on the different experimental conditions (columns). The routine is already implemented in R (mclustR-package). Within our simulation, it was called without any additional arguments except the data frame.gDGC.  Valdano and Di Rienzo [11] calculated a cutting point for a dendrogram, generated by a given linkage algorithm, based on the null distribution of the root node of the binary tree produced by the clustering procedure. The node in which two mean vectors—or a cluster of them—join   have an associated measure that corresponds to the distance—calculated according to linkage algorithm—between the mean vectors or the clusters that the node is joining. The node in which all mean vectors join, to form a unique cluster, is theroot node. In the UPGMA algorithm, if SM and SL are two different clusters, the distance between them is defined as follow:(10)q=q(SM,SL)=1#(SM)#(SL)∑y̅i∈SMy̅j∈SLDij,
where Dij is the square root of Mahalanobis distance. If SM and SL are coincident, then q(SM,SM)=0.The smallest value ofDij will correspond to the pair of most similar mean vectors and the node that is formed will be at a distance q1 from the origin. The following distance—q2—is associated with the next node, which can join two different mean vectors or the cluster previously formed and another mean vector. At the end of the clustering algorithm, the last union will be at distance qk-1 and will be referred to as the distance to the root node (Figure 1). This distance can be seen as a realization of a random variable Q. The (1−α)-quantile of its distribution under the null hypothesis of equal population mean vectors can be used to construct a test of size α. Given Q1-α, as the α-level critical value, all Q≥Q1-α will lead to the rejection of the null hypothesis. An R routine that calculates critical points of the null distribution of Q is freely available to download at: http://agro.uncor.edu/~estad/gDGCQ.r. A friendly implementation of gDGC for its application on a gene-expression matrix can be found in the free-software fgStatistics http://sites.google.com/site/fgstatistics/.Figure 1
Dendrogram showing the relationships among mean vectors. Cut-off criterion obtained with thegDGC test—Q1-α—is indicated with a dotted line. At the bottom of the figure, different letters identify groups statistically differing in the population centroids at a significance level α.


## 3. Simulated Data

The primary output of a microarray experiment is the gene-expression matrix (GEM). It is composed by G rows and H columns. G is the number of “genes” evaluated and H is the number of microarrays (treatments × replicates) used in the experiment. Usually G is bigger than H and varies between hundreds to tens of thousands. Candidate genes are those genes that are differentially expressed among “treatments”. The set of candidate genes is smaller than original set of genes and its size is around tens to hundreds of genes. This drastic reduction in the number of genes relays in the assumption that most of them remain unchanged under the experimental conditions contrasted.To simulate the candidate genes expression matrices we considered two scenarios regarding the number of differentially expressed genes (100 and 300 genes), two levels for the number of clusters which have similar profile among treatments: 2 and 10, two levels for the number of treatment conditions: 3 and 5, and two levels for the number of replicates: 3 and 6. Anumber of genes, clusters, treatments, and replicates do not intend to cover all possibilities but common cases in microarray experiments. According to the number of differentially expressed genes (2), the number of clusters (2), the number of treatments (2), and then number of replicates (2), 16 scenarios were considered, For each scenario 10 simulated candidate-gene-expression matrixes (sGEM) were randomly generated.Each sGEM was generated from the GEM of a self-self cDNA-microarray experiment dataset [14] according to Algorithm 1 described in the appendix. The algorithm relays on the availability of a residual gene-expression matrix (rGEM). This residual matrix was obtained from the GEM of the self-self experiment (s-sGEM) by centering by rows and columns and adding to each entry the mean of all entries. This way of obtaining an rGEM assumes that each entry (Yij) in s-sGEM can be modeled as Yij=μ+gi+mj+εik,i=1…G,j=1…H, where μ is a common mean, gi is the effect of the ith gene, mj is the jth microarray’s effect, and εij is a random error with zero mean. The resulting rGEM was a 3830 (rows) by 10 (columns) matrix and is available at the following link: https://docs.google.com/leaf?id=0BxMg4dIPlsq7MzhhMGNjNzMtNGUwYS00NmYzLWI0NDctZjZlNTFiYTEzYWZm&hl=es.Clusters were generated by randomly allocating the number of genes belonging to each cluster based on Algorithm2 described in the appendix. A randomly generated profile of treatment effects—scaled by the common within standard deviation of each gene—was added for every gene in the same cluster. The nonscaled profile was generated uniformly between −3 and 3. In this way, differences among treatment means ranged between −3 and 3 times the common within standard deviation for a given gene.To summarize the effect of the methods to assessing the optimum number of clusters, a linear model was fitted to the difference between the number of clusters in the dataset and its estimation. Hereafter, we will refer to this difference as thebias. The factors included in the model were the following: the method used to estimate the number of clusters (M), the true number of clusters (k), the number of genes (G), the number of treatments (T), and the number of replicates (N). Because each method was applied to the same simulated data, a dataset effect was included in the model as a random effect. Due to the number of terms involved in the adjusted model—main effects and their interaction—the Benjamini-Hochberg algorithm [15] was applied to adjust the raw P value in order to control the false discovery rate. The significance level was 0.05. For the significant terms of the model, confidence intervals were calculated for their marginal means. The mixed model was fitted using the lme function (nlmeR-package).


## 4. Results

All the methods compared in this study (exceptMClust) can be applied to the same distance matrix used by the clustering algorithm. Because gDGC method uses the Mahalanobis distance to measure the dissimilarity between mean vectors (genes), we decided to base our comparison using this matrix. Mahalanobis distance is a nice metric because it takes into account variances and covariances of attributes. The covariance matrix used to calculate the Mahalanobis distance is the common—pooled—within gene covariance matrix.Different linkage algorithms are separately analyzed. First we present results for average linkage, then the results for complete linkage. Ward’s algorithm was also included in the comparison but results are not shown because of its poor performance. AlthoughMClust does not depend on the linkage algorithm, it will appear in the comparison under the subtitles Average linkage and Complete linkage.


### 4.1. Average Linkage

Table1 summarizes the ANOVA table for the fitted model when the true number of clusters (k) in the dataset is 2 and 10. In both cases, the best model included a variance function to take into account that residual variance was much greater for HOPACH than for the other procedures. The residual standard deviation of HOPACHm and HOPACHc was around 10 (k=2) to 12 (k=10) times the common standard deviation of the other procedures.Table 1
Summarized ANOVA table for the terms of the linear model fitted to the bias (estimated minus true number of clusters—k—in the gene-expression matrix). Results are shown for k=2 and k=10. Clustering algorithm: average linkage.
Model termsnumDFdenDFk=2k=10F-valueBH-AdjP valueF-valueBH-AdjP valueM972011.44<0.0001159.17<0.0001G18012.320.003721.22<0.0001T1803.520.165364.34<0.0001N1800.010.98583.380.1243M:G97202.420.05102.600.0177M:T97201.840.165310.96<0.0001M:N97201.710.17572.210.0485G:T1800.010.98582.400.1824G:N1801.620.38120.010.9233T:N1800.490.80772.570.1823M:G:T97200.500.98581.480.2050M:G:N97200.660.98581.060.4865M:T:N97201.790.16532.090.0594G:T:N1800.360.82680.540.5333M:G:T:N97200.250.98580.790.6701BH-AdjP value: refers to the adjusted P value according to Benjamini-Hochberg algorithm.Table1 shows evidence of differences in the mean bias among methods compared. These differences do not depend on other factors when k=2. Table 2 summarizes the performance of the methods when k=2. It shows that no matter the input used to the HOPACH method (Mahalanobis distances matrix or the mean-GEM), it produces the highest bias, about seven clusters above the true value. On the other hand, only CCCm, CCC, gDGC, and MClust had confidence intervals compatible with the unbiasedness hypothesis.Table 2
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias for each method applied to the estimation of the number of clusters in the simulated datasets. True number of clusters:k=2. Clustering algorithm: average linkage.
MethodMean biasStandard errorLB (95%)UB (95%)HOPACHm7.351.075.259.45HOPACHc7.281.075.189.38CH0.440.100.240.64Gap0.350.100.150.55Silh0.340.100.140.54H0.220.100.020.42CCCm0.160.10−0.040.36CCC0.160.10−0.040.36gDGC0.030.10−0.170.23MClust0.010.10−0.190.21When there is considered the case of moderate number of clusters (k=10), the performance of the methods depends on the number of treatments. Table 3 shows the mean bias by method, grouped according to the number of treatments. The rank of the methods is almost the same when T=3 or T=5. HOPACH overestimated whereas all other methods underestimated the number of clusters. However, as the number of treatments increases (T=5), a differentiation in favour to gDGC and MClust is apparent.Table 3
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias for each combination of  method (M) and number of treatments (T). Means of bias are sorted descending within each level of T. True number of clusters: k=10. Clustering algorithm: average linkage.
MTMean biasStandard errorLB (95%)UB (95%)HOPACHm333.002.5632.8033.20HOPACHc315.432.5615.2315.63MClust3−4.680.21−6.78−2.58gDGC3−4.770.21−6.87−2.67Gap3−5.000.21−5.20−4.80H3−5.090.21−5.29−4.89CH3−6.140.21−6.34−5.94Silh3−6.840.21−7.04−6.64CCC3−7.230.21−7.43−7.03CCCm3−7.250.21−7.45−7.05HOPACHm536.822.5634.7238.92HOPACHc535.822.5633.7237.92gDGC5−1.410.21−1.61−1.21MClust5−2.020.21−2.22−1.82Gap5−2.840.21−3.04−2.64CH5−3.110.21−3.31−2.91H5−3.340.21−3.54−3.14Silh5−4.070.21−4.27−3.87CCCm5−6.390.21−6.59−6.19CCC5−6.390.21−6.59−6.19


### 4.2. Complete Linkage

Table4 summarizes the ANOVA table for the fitted model when the true number of clusters (k) in the dataset is 2 and 10. In both cases the best model included a variance function to take into account that residual variance was much greater for HOPACH than for the other procedures. The residual standard deviation of HOPACHm and HOPACHc was around 10 (k=2) to 13 (k=10) times the common standard deviation of the other procedures.Table 4
Summarized ANOVA table for the terms of the linear model fitted to the bias (estimated minus true number of clusters—k—in the gene-expression matrix). Results are shown for k=2 and k=10. Clustering algorithm: complete linkage.
Model termsnumDFdenDFk=2k=10F-valueBH-AdjP valueF-valueBH-AdjP valueM9720130.17<0.0001265.88<0.0001G1804.260.084511.780.0017T18026.39<0.000157.35<0.0001N1800.540.570328.62<0.0001M:G972028.29<0.000110.05<0.0001M:T972019.67<0.000114.43<0.0001M:N97200.710.70314.150.0001G:T1800.30.63310.330.6046G:N1800.780.50630.830.4169T:N1802.190.22891.550.2897M:G:T97202.660.01293.780.0002M:G:N97200.820.63311.270.3096M:T:N97201.430.25081.630.1631G:T:N1802.190.22892.580.1631M:G:T:N97202.230.04190.480.8888BH-AdjP value: refers to the adjusted P value according to Benjamini-Hochberg algorithm.When the true number of clusters in the dataset was 2, the highest interaction terms includingmethod were M:G and M:T. The mean and 95% confidence interval for the bias for each combination of method and number of genes and of method and number of treatments are shown in Tables 5 and 6, respectively.Table 5
Estimated means, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias for each combination of  method (M) and number of genes (G). The table is sorted in descending order of bias within each level of G. True number of clusters: k=2. Clustering algorithm: complete linkage.
MGMean biasStandard errorLB (95%)UB (95%)HOPACHm10014.932.0810.8519.01HOPACHc10011.142.087.0515.22Gap1003.110.222.693.54H1001.930.221.512.35CH1000.680.220.261.10Silh1000.450.220.030.88CCC1000.160.22−0.260.58CCCm1000.160.22−0.260.58gDGC1000.050.22−0.380.47MClust100−0.050.22−0.470.38HOPACHm3008.162.084.0812.24H3006.410.225.996.83Gap3004.770.224.355.20HOPACHc3003.952.08−0.138.04CH3000.110.22−0.310.54gDGC3000.090.22−0.330.51Silh3000.070.22−0.350.49CCC3000.020.22−0.400.45CCCm3000.020.22−0.400.45MClust300−0.020.22−0.450.40Table 6
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias of each combination of  method (M) and number of treatments (T). The table is sorted in descending order of bias within each level of T. True number of clusters: k=2. Clustering algorithm: complete linkage.
MTMean biasStandard errorLB (95%)UB (95%)HOPACHm317.252.0813.1721.33HOPACHc39.272.085.1913.35H35.840.225.426.26Gap35.430.225.015.85CH30.750.220.331.17Silh30.410.22−0.010.83CCC30.180.22−0.240.60CCCm30.180.22−0.240.60gDGC30.000.22−0.420.42MClust3−0.070.22−0.490.35HOPACHm55.842.081.769.92HOPACHc55.822.081.749.90H52.500.222.082.92Gap52.450.222.032.88gDGC50.140.22−0.290.56Silh50.110.22−0.310.54CH50.050.22−0.380.47CCCm50.000.22−0.420.42MClust50.000.22−0.420.42CCC50.000.22−0.420.42As a general remark the increase inG is followed by a decrease in the bias. However there are important differences within methods depending on G. For G=100, methods which produced estimates compatible with the unbiasedness hypothesis were CCC, CCCm, gDGC, and MClust. For G=300, those methods were HOPACHc, CH, gDGC, Silh, CCC, CCCm, and MClust.Considering results shown in Table6, the increase in the number of treatments is followed by a decrease in bias. As in the previous case there are differences in the performance of the methods depending on T. However, no matter T, HOPACH always overestimated the number of clusters. In the side of best performing methods the list contains Silh, CCC, CCCm, gDGC, and MClust. When T=5, the previous list is augmented with CH.When the true number of clusters in the dataset was 10, the highest interaction term including method wasM:G:T, which logically includes the also significant M:G and M:T interaction terms. There is also a second-order significant interaction given by M:N. The mean and 95% confidence interval for the bias for the combinations of method and number of replicates are shown in Table 7. The corresponding table for combinations of method, number of genes, and number of treatments is shown in Table 8.Table 7
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias of each combination of  method (M) and number of replicates (N). The table is sorted in descending order of bias within each level of N. True number of clusters: k=10. Clustering algorithm: complete linkage.
MNMean biasStandard errorLB (95%)UB (95%)HOPACHm333.002.5827.9438.06HOPACHc325.182.5820.1230.24Gap3−1.950.23−2.40−1.50H3−2.270.23−2.72−1.82gDGC3−3.750.23−4.20−3.30MClust3−3.950.23−4.40−3.50CH3−5.480.23−5.93−5.03Silh3−6.570.23−7.02−6.12CCCm3−7.110.23−7.56−6.66CCC3−7.230.23−7.68−6.78HOPACHm632.392.5827.3337.45HOPACHc627.432.5822.3732.49Gap6−0.890.23−1.34−0.44H6−1.360.23−1.81−0.91gDGC6−2.450.23−2.90−2.00MClust6−2.980.23−3.43−2.53CH6−3.550.23−4.00−3.10Silh6−5.250.23−5.70−4.80CCCm6−7.160.23−7.61−6.71CCC6−7.230.23−7.68−6.78Table 8
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias of each combination of method (M), number of genes (G), and number of treatments (T). The table is sorted in descending order of bias within each level of G and T. True number of clusters: k=10. Clustering algorithm: complete linkage.
MGTMean biasStandard errorLB (95%)UB (95%)HOPACHm100328.183.6421.0535.31HOPACHc100323.143.6416.0130.27Gap1003−2.140.32−2.77−1.51H1003−3.500.32−4.13−2.87gDGC1003−4.550.32−5.18−3.92CH1003−4.910.32−5.54−4.28MClust1003−5.090.32−5.72−4.46Silh1003−6.820.32−7.45−6.19CCCm1003−7.410.32−8.04−6.78CCC1003−7.410.32−8.04−6.78HOPACHc100530.053.6422.9237.18HOPACHm100526.953.6419.8234.08Gap1005−1.450.32−2.08−0.82gDGC1005−2.000.32−2.63−1.37MClust1005−2.450.32−3.08−1.82H1005−3.050.32−3.68−2.42CH1005−3.730.32−4.36−3.10Silh1005−4.950.32−5.58−4.32CCCm1005−7.090.32−7.72−6.46CCC1005−7.360.32−7.99−6.73HOPACHm300340.233.6433.147.36HOPACHc300316.093.648.9623.22H30030.360.32−0.270.99Gap3003−1.180.32−1.81−0.55gDGC3003−4.140.32−4.77−3.51MClust3003−4.230.32−4.86−3.60CH3003−6.360.32−6.99−5.73Silh3003−7.410.32−8.04−6.78CCCm3003−7.450.32−8.08−6.82CCC3003−7.450.32−8.08−6.82HOPACHc300535.953.6428.8243.08HOPACHm300535.413.6428.2842.54Gap3005−0.910.32−1.54−0.28H3005−1.090.32−1.72−0.46gDGC3005−1.730.32−2.36−1.10MClust3005−2.090.32−2.72−1.46CH3005−3.050.32−3.68−2.42Silh3005−4.450.32−5.08−3.82CCCm3005−6.590.32−7.22−5.96CCC3005−6.680.32−7.31−6.05As a general remark, when the true number of clusters increases to a moderate number (k=10), all methods underestimated the number of clusters, except HOPACH, which consistently overestimated it.Although a significant interaction was found for the method and the number of replicates, Table7 shows that there is no change in the ordering of the methods no matter N. Gap, H, gDGC, and MClust were the lesser negative-biased methods.To analyze the performance of the methods to estimate the number of clusters regarding theM:G:T interaction term, Table 8 is divided into four blocks defined by the combination levels of G and T. Within these blocks methods were sorted in descending order of bias. Taking into account the bias in the four blocks there are four methods that always have the lesser bias: Gap, H, gDGC, and MClust. Although their order changes in each block, the picture is the same. As in other cases analyzed, HOPACH always overestimated, by far, the number of clusters in the dataset.


## 4.1. Average Linkage

Table1 summarizes the ANOVA table for the fitted model when the true number of clusters (k) in the dataset is 2 and 10. In both cases, the best model included a variance function to take into account that residual variance was much greater for HOPACH than for the other procedures. The residual standard deviation of HOPACHm and HOPACHc was around 10 (k=2) to 12 (k=10) times the common standard deviation of the other procedures.Table 1
Summarized ANOVA table for the terms of the linear model fitted to the bias (estimated minus true number of clusters—k—in the gene-expression matrix). Results are shown for k=2 and k=10. Clustering algorithm: average linkage.
Model termsnumDFdenDFk=2k=10F-valueBH-AdjP valueF-valueBH-AdjP valueM972011.44<0.0001159.17<0.0001G18012.320.003721.22<0.0001T1803.520.165364.34<0.0001N1800.010.98583.380.1243M:G97202.420.05102.600.0177M:T97201.840.165310.96<0.0001M:N97201.710.17572.210.0485G:T1800.010.98582.400.1824G:N1801.620.38120.010.9233T:N1800.490.80772.570.1823M:G:T97200.500.98581.480.2050M:G:N97200.660.98581.060.4865M:T:N97201.790.16532.090.0594G:T:N1800.360.82680.540.5333M:G:T:N97200.250.98580.790.6701BH-AdjP value: refers to the adjusted P value according to Benjamini-Hochberg algorithm.Table1 shows evidence of differences in the mean bias among methods compared. These differences do not depend on other factors when k=2. Table 2 summarizes the performance of the methods when k=2. It shows that no matter the input used to the HOPACH method (Mahalanobis distances matrix or the mean-GEM), it produces the highest bias, about seven clusters above the true value. On the other hand, only CCCm, CCC, gDGC, and MClust had confidence intervals compatible with the unbiasedness hypothesis.Table 2
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias for each method applied to the estimation of the number of clusters in the simulated datasets. True number of clusters:k=2. Clustering algorithm: average linkage.
MethodMean biasStandard errorLB (95%)UB (95%)HOPACHm7.351.075.259.45HOPACHc7.281.075.189.38CH0.440.100.240.64Gap0.350.100.150.55Silh0.340.100.140.54H0.220.100.020.42CCCm0.160.10−0.040.36CCC0.160.10−0.040.36gDGC0.030.10−0.170.23MClust0.010.10−0.190.21When there is considered the case of moderate number of clusters (k=10), the performance of the methods depends on the number of treatments. Table 3 shows the mean bias by method, grouped according to the number of treatments. The rank of the methods is almost the same when T=3 or T=5. HOPACH overestimated whereas all other methods underestimated the number of clusters. However, as the number of treatments increases (T=5), a differentiation in favour to gDGC and MClust is apparent.Table 3
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias for each combination of  method (M) and number of treatments (T). Means of bias are sorted descending within each level of T. True number of clusters: k=10. Clustering algorithm: average linkage.
MTMean biasStandard errorLB (95%)UB (95%)HOPACHm333.002.5632.8033.20HOPACHc315.432.5615.2315.63MClust3−4.680.21−6.78−2.58gDGC3−4.770.21−6.87−2.67Gap3−5.000.21−5.20−4.80H3−5.090.21−5.29−4.89CH3−6.140.21−6.34−5.94Silh3−6.840.21−7.04−6.64CCC3−7.230.21−7.43−7.03CCCm3−7.250.21−7.45−7.05HOPACHm536.822.5634.7238.92HOPACHc535.822.5633.7237.92gDGC5−1.410.21−1.61−1.21MClust5−2.020.21−2.22−1.82Gap5−2.840.21−3.04−2.64CH5−3.110.21−3.31−2.91H5−3.340.21−3.54−3.14Silh5−4.070.21−4.27−3.87CCCm5−6.390.21−6.59−6.19CCC5−6.390.21−6.59−6.19


## 4.2. Complete Linkage

Table4 summarizes the ANOVA table for the fitted model when the true number of clusters (k) in the dataset is 2 and 10. In both cases the best model included a variance function to take into account that residual variance was much greater for HOPACH than for the other procedures. The residual standard deviation of HOPACHm and HOPACHc was around 10 (k=2) to 13 (k=10) times the common standard deviation of the other procedures.Table 4
Summarized ANOVA table for the terms of the linear model fitted to the bias (estimated minus true number of clusters—k—in the gene-expression matrix). Results are shown for k=2 and k=10. Clustering algorithm: complete linkage.
Model termsnumDFdenDFk=2k=10F-valueBH-AdjP valueF-valueBH-AdjP valueM9720130.17<0.0001265.88<0.0001G1804.260.084511.780.0017T18026.39<0.000157.35<0.0001N1800.540.570328.62<0.0001M:G972028.29<0.000110.05<0.0001M:T972019.67<0.000114.43<0.0001M:N97200.710.70314.150.0001G:T1800.30.63310.330.6046G:N1800.780.50630.830.4169T:N1802.190.22891.550.2897M:G:T97202.660.01293.780.0002M:G:N97200.820.63311.270.3096M:T:N97201.430.25081.630.1631G:T:N1802.190.22892.580.1631M:G:T:N97202.230.04190.480.8888BH-AdjP value: refers to the adjusted P value according to Benjamini-Hochberg algorithm.When the true number of clusters in the dataset was 2, the highest interaction terms includingmethod were M:G and M:T. The mean and 95% confidence interval for the bias for each combination of method and number of genes and of method and number of treatments are shown in Tables 5 and 6, respectively.Table 5
Estimated means, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias for each combination of  method (M) and number of genes (G). The table is sorted in descending order of bias within each level of G. True number of clusters: k=2. Clustering algorithm: complete linkage.
MGMean biasStandard errorLB (95%)UB (95%)HOPACHm10014.932.0810.8519.01HOPACHc10011.142.087.0515.22Gap1003.110.222.693.54H1001.930.221.512.35CH1000.680.220.261.10Silh1000.450.220.030.88CCC1000.160.22−0.260.58CCCm1000.160.22−0.260.58gDGC1000.050.22−0.380.47MClust100−0.050.22−0.470.38HOPACHm3008.162.084.0812.24H3006.410.225.996.83Gap3004.770.224.355.20HOPACHc3003.952.08−0.138.04CH3000.110.22−0.310.54gDGC3000.090.22−0.330.51Silh3000.070.22−0.350.49CCC3000.020.22−0.400.45CCCm3000.020.22−0.400.45MClust300−0.020.22−0.450.40Table 6
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias of each combination of  method (M) and number of treatments (T). The table is sorted in descending order of bias within each level of T. True number of clusters: k=2. Clustering algorithm: complete linkage.
MTMean biasStandard errorLB (95%)UB (95%)HOPACHm317.252.0813.1721.33HOPACHc39.272.085.1913.35H35.840.225.426.26Gap35.430.225.015.85CH30.750.220.331.17Silh30.410.22−0.010.83CCC30.180.22−0.240.60CCCm30.180.22−0.240.60gDGC30.000.22−0.420.42MClust3−0.070.22−0.490.35HOPACHm55.842.081.769.92HOPACHc55.822.081.749.90H52.500.222.082.92Gap52.450.222.032.88gDGC50.140.22−0.290.56Silh50.110.22−0.310.54CH50.050.22−0.380.47CCCm50.000.22−0.420.42MClust50.000.22−0.420.42CCC50.000.22−0.420.42As a general remark the increase inG is followed by a decrease in the bias. However there are important differences within methods depending on G. For G=100, methods which produced estimates compatible with the unbiasedness hypothesis were CCC, CCCm, gDGC, and MClust. For G=300, those methods were HOPACHc, CH, gDGC, Silh, CCC, CCCm, and MClust.Considering results shown in Table6, the increase in the number of treatments is followed by a decrease in bias. As in the previous case there are differences in the performance of the methods depending on T. However, no matter T, HOPACH always overestimated the number of clusters. In the side of best performing methods the list contains Silh, CCC, CCCm, gDGC, and MClust. When T=5, the previous list is augmented with CH.When the true number of clusters in the dataset was 10, the highest interaction term including method wasM:G:T, which logically includes the also significant M:G and M:T interaction terms. There is also a second-order significant interaction given by M:N. The mean and 95% confidence interval for the bias for the combinations of method and number of replicates are shown in Table 7. The corresponding table for combinations of method, number of genes, and number of treatments is shown in Table 8.Table 7
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias of each combination of  method (M) and number of replicates (N). The table is sorted in descending order of bias within each level of N. True number of clusters: k=10. Clustering algorithm: complete linkage.
MNMean biasStandard errorLB (95%)UB (95%)HOPACHm333.002.5827.9438.06HOPACHc325.182.5820.1230.24Gap3−1.950.23−2.40−1.50H3−2.270.23−2.72−1.82gDGC3−3.750.23−4.20−3.30MClust3−3.950.23−4.40−3.50CH3−5.480.23−5.93−5.03Silh3−6.570.23−7.02−6.12CCCm3−7.110.23−7.56−6.66CCC3−7.230.23−7.68−6.78HOPACHm632.392.5827.3337.45HOPACHc627.432.5822.3732.49Gap6−0.890.23−1.34−0.44H6−1.360.23−1.81−0.91gDGC6−2.450.23−2.90−2.00MClust6−2.980.23−3.43−2.53CH6−3.550.23−4.00−3.10Silh6−5.250.23−5.70−4.80CCCm6−7.160.23−7.61−6.71CCC6−7.230.23−7.68−6.78Table 8
Estimated mean, standard error, and lower (LB) and upper boundaries (UB) of a 95% confidence interval for the bias of each combination of method (M), number of genes (G), and number of treatments (T). The table is sorted in descending order of bias within each level of G and T. True number of clusters: k=10. Clustering algorithm: complete linkage.
MGTMean biasStandard errorLB (95%)UB (95%)HOPACHm100328.183.6421.0535.31HOPACHc100323.143.6416.0130.27Gap1003−2.140.32−2.77−1.51H1003−3.500.32−4.13−2.87gDGC1003−4.550.32−5.18−3.92CH1003−4.910.32−5.54−4.28MClust1003−5.090.32−5.72−4.46Silh1003−6.820.32−7.45−6.19CCCm1003−7.410.32−8.04−6.78CCC1003−7.410.32−8.04−6.78HOPACHc100530.053.6422.9237.18HOPACHm100526.953.6419.8234.08Gap1005−1.450.32−2.08−0.82gDGC1005−2.000.32−2.63−1.37MClust1005−2.450.32−3.08−1.82H1005−3.050.32−3.68−2.42CH1005−3.730.32−4.36−3.10Silh1005−4.950.32−5.58−4.32CCCm1005−7.090.32−7.72−6.46CCC1005−7.360.32−7.99−6.73HOPACHm300340.233.6433.147.36HOPACHc300316.093.648.9623.22H30030.360.32−0.270.99Gap3003−1.180.32−1.81−0.55gDGC3003−4.140.32−4.77−3.51MClust3003−4.230.32−4.86−3.60CH3003−6.360.32−6.99−5.73Silh3003−7.410.32−8.04−6.78CCCm3003−7.450.32−8.08−6.82CCC3003−7.450.32−8.08−6.82HOPACHc300535.953.6428.8243.08HOPACHm300535.413.6428.2842.54Gap3005−0.910.32−1.54−0.28H3005−1.090.32−1.72−0.46gDGC3005−1.730.32−2.36−1.10MClust3005−2.090.32−2.72−1.46CH3005−3.050.32−3.68−2.42Silh3005−4.450.32−5.08−3.82CCCm3005−6.590.32−7.22−5.96CCC3005−6.680.32−7.31−6.05As a general remark, when the true number of clusters increases to a moderate number (k=10), all methods underestimated the number of clusters, except HOPACH, which consistently overestimated it.Although a significant interaction was found for the method and the number of replicates, Table7 shows that there is no change in the ordering of the methods no matter N. Gap, H, gDGC, and MClust were the lesser negative-biased methods.To analyze the performance of the methods to estimate the number of clusters regarding theM:G:T interaction term, Table 8 is divided into four blocks defined by the combination levels of G and T. Within these blocks methods were sorted in descending order of bias. Taking into account the bias in the four blocks there are four methods that always have the lesser bias: Gap, H, gDGC, and MClust. Although their order changes in each block, the picture is the same. As in other cases analyzed, HOPACH always overestimated, by far, the number of clusters in the dataset.


## 5. Discussion

Two scenarios were considered in this work: when the true number of clusters is very small and when the number is moderate. In the first case (i.e.,k=2), some methods estimated the true number of clusters quite well, no matter the linkage algorithm. These methods were CCC, CCCm, gDGC, and MClust. Meanwhile, all other methods produced overestimate. Within this group of methods, HOPACH (based on the Mahalanobis distance or the average gene-expression matrix) was, by far, the highest biased.The case when the number of clusters is small is not the most challenging situation because most of clustering methods find the global structure. Moreover, in most microarray experiments the number of clusters will be greater than two. The problem is finding relatively small clusters in the presence of one or more larger clusters [2]. For moderate number of clusters, as could be 10, all methods gave negative-biased estimations of the number of clusters, except HOPACHm and HOPACHc that were positive biased and very variable. The positive bias of HOPACH is consistent with the properties of the median split Silhouette criterion (MSS), which was developed to be more “aggressive" for finding small, homogeneous clusters in large datasets [13].Within the negative-biased methods, and according to the simulated scenarios, the results for the average and complete linkage algorithms suggest that the less-biased methods for assessing the number of clusters wereMClust, gDGC, and Gap. However, considering all the scenarios there are two methods that consistently appeared in the best groups: gDGC and MClust.One disadvantage ofgDGC compared to MClust is that it relays on the availability of replicates. However, in actual microarray applications there are always biological replicates. So, in this context, that limitation is not a problem. Although gDGC is based on the null distribution of the root node of a binary tree, generated by a hierarchical clustering algorithm, and MClust is based on the modeling of a multivariate normal mixture, both are theoretically related. Their null model is that there is just one multivariate-normal population. For this reason, both can give, as a result, one cluster. When the null model fails, MClust assumes that the dataset is a mixture of samples from several multivariate-normal populations differing in their mean vector and possibly in their covariance matrix, with the number of populations being a parameter to estimate. gDGC also assumes that if the dataset is not a sample of a unique multivariate population, then it is a mixture of samples from several multivariate-normal populations. In contrast to Mclust, gDGC makes the simplified assumption that there is a common covariance matrix as in MANOVA. Nonetheless, an advantage of gDGC is that it can drop the assumption of multivariate normality and resample from an empirical estimated null distribution with, of course, additional computational cost.Another point in favour togDGC is that it is related to a dendrogram, a common way to illustrate relationships among genes (i.e., heatmaps). So, gDGC not only estimates the number of groups of genes having the same expression profile but also shows them using the intuitive idea of cutting a dendrogram, making its interpretation straightforward. Because the rule to cut the dendrogram is based of a testing hypothesis framework, it allows the user to calibrate the power of the test selecting the significance level of his/her choice.gDGC and MClust are computer intensive methods, and the users will have to face the time cost of their implementations. However, it is possible—for common setups of the number of genes, replicates, number of treatments, and linkage algorithm—to speed up the gDGC algorithm having already calculated the appropriate percentile tables of the null distribution of its decision statistic.In summary, there are not unbiased methods for estimating the number of clusters in a gene-expression matrix within those methods compared in this study. However, within the negative-biased methods,MClust and gDGC are the best choice.



---

*Source: 261975-2011-12-20.xml*