Clustering Principles

Principles underlying Gene clustering and Term clustering based on Kappa similarity matrices and a fuzzy heuristic multiple-linkage clustering algorithm.

Kappa Similarity Matrix

Clustering begins with construction of a Kappa similarity matrix. For genes, similarity is computed from shared annotation terms. For annotation terms, similarity is computed from shared genes.

For two entities (a and b), a 2 by 2 contingency table is constructed and the Kappa statistic is calculated as:

Oab = (C11 + C00) / T
Aab = [(R1 * C1) + (R0 * C0)] / (T * T)
Kappaab = (Oab - Aab) / (1 - Aab)

Kappa ranges from 0 (no agreement beyond chance) to 1 (perfect agreement). Higher values indicate stronger functional similarity.

Fuzzy Heuristic Multiple-Linkage Clustering

The same fuzzy heuristic clustering algorithm is applied to both gene-gene and term-term Kappa similarity matrices.

The algorithm allows an object (gene or term) to participate in more than one cluster, reflecting biological complexity.

Algorithm Steps
  1. Fuzzy Seeding: Each entity may serve as a medoid if it has sufficient neighbors above a similarity threshold.
  2. Initial Group Formation: Qualified seeds form preliminary clusters.
  3. Multiple-Linkage Merging: Clusters sharing a sufficient percentage of members are iteratively merged.
  4. Convergence: Iteration continues until no further merging occurs.

The distance between entities represents the strength of their Kappa similarity. Higher similarity implies closer proximity in clustering space.

Fuzzy heuristic clustering illustration

In the clustering illustration:

Gene Functional Classification (Gene Clustering)

A gene-to-gene similarity matrix is generated from shared annotation terms using Kappa statistics.

Highly related genes are grouped into functional clusters. Some genes may belong to more than one cluster.

Gene Group Enrichment Score

The biological significance of each gene cluster is summarized by a Group Enrichment Score.

The score is computed by:

  1. Running enrichment analysis for genes in the cluster to obtain p-values (EASE scores).
  2. Calculating the geometric mean (in negative log scale) of the member term p-values.

Higher Group Enrichment Scores indicate stronger biological coherence within the gene cluster.

Functional Annotation Clustering (Term Clustering)

Annotation terms are clustered based on shared genes. The same fuzzy heuristic clustering algorithm is applied to the term-term Kappa similarity matrix.

Clustering reduces redundancy among enriched terms and groups biologically related annotations together.

Annotation Cluster Enrichment Score

For each annotation cluster, a Group Enrichment Score is calculated as the geometric mean (in negative log scale) of the p-values for member terms.

Individual term p-values remain identical to those calculated in enrichment analysis.

Clusters with consistently low p-values among member terms receive higher enrichment scores.