Best practice is to normalize the data being clustered
ZL: usually done by standardizing on row (gene) then on column (array), or
see cluster3 (http://db.tt/fKAluEip treeview) documentation.
http://bonsai.hgc.jp/~mdehoon/software/cluster/manual/Data.html#Data
Consensus Clustering
protocols |
Before you begin
learn more: file formats |
Step 1: PreprocessDataset
Preprocess gene expression data to remove platform noise and genes that have little variation. Although researchers generally preprocess data before clustering if doing so removes relevant biological information, skip this step.
- Open module in the GenePattern window.
- Open module with example data in the GenePattern window.
CONSIDERATIONS
- PreprocessDataset can preprocess the data in one or more ways (in this order):
- Set threshold and ceiling values. Any value lower/higer than the threshold/ceiling value is reset to the threshold/ceiling value.
- Convert each expression value to the log base 2 of the value.
- Remove genes (rows) if a given number of its sample values are less than a given threshold.
- Remove genes (rows) that do not have a minimum fold change or expression variation.
- Discretize or normalize the data.
- When using ratios to compare gene expression between samples, convert values to log base 2 of the value to bring up- and down-regulated genes to the same scale. For example, ratios of 2 and .5 indicating two-fold changes for up- and down-regulated expression, respectively, are converted to +1 and -1.
- If you did not generate the expression data, check whether preprocessing steps have already been taken before running the PreprocessDataset module.
learn more: PreprocessDataset |
Step 2: ConsensusClustering
ConsensusClustering runs a selected clustering algorithm (by default, hierarchical clustering) against perturbations of the gene expression data a selected number of times (by default, 20). It assesses the stability of the resulting clusters by creating a consensus matrix.
For every pair of objects, the matrix records the number of times both are assigned to the same cluster divided by the number of times both are in the perturbed data set. A consensus matrix where all values are 0 or 1 corresponds to perfect consensus.
CONSIDERATIONS
- ConsensusClustering clusters genes or samples, not both.
- ConsensusClustering groups objects (genes or samples) into k clusters. It groups objects into two clusters, then three clusters, up to the maximum number of clusters specified by the kmaxparameter (by default, 5). The module builds a separate consensus matrix for each set of clusters.
- Best practice is to normalize the data being clustered (normalize type parameter).
learn more: ConsensusClustering |
Step 3: HeatMapViewer
Run the HeatMapViewer module to view the consensus matrices. The consensus matrix is formatted as a GCT file. The HeatMapViewer displays the consensus matrix as a heat map. A consensus matrix where all values are dark blue (0) or dark red (1) corresponds to perfect consensus.
CONSIDERATIONS
- For more about the consensus matrix and its interpretation, see Monti et al., 2003.
- ConsensusClustering also creates a text file (*.clu) listing the items belonging to each cluster, text files (*.clsdist, *.stdev) listing the cluster statistics, and a .pdf file showing statistical plots (Lorenz curve, Gini index, Consensus CDF) that can be used to determine the best number of clusters. To display any of these files, click the file.
No comments:
Post a Comment