Kappa Similarity and Related Genes/Terms

Statistical principles underlying related gene and related term identification in DAVID.

Kappa Similarity Measurement

The Kappa statistic is a chance-corrected measure of agreement between two sets of categorized data.

In DAVID, Kappa statistics quantify how strongly two genes share similar annotation terms, or how strongly two biological terms share similar participating genes.

A 2 by 2 contingency table is constructed for two entities (a and b) based on shared and non-shared binary classifications.

Observed Agreement

The observed agreement (Oab) represents the proportion of matching classifications:

Oab = (C11 + C00) / T

where:

  • C11 = number of shared positive matches
  • C00 = number of shared negative matches
  • T = total number of categories
Expected Agreement

The expected agreement by chance (Aab) is calculated using row and column totals:

Aab = [(R1 * C1) + (R0 * C0)] / (T * T)

where:

  • R1 and R0 are row totals
  • C1 and C0 are column totals
  • T = total number of categories
Kappa Statistic
Kappaab = (Oab - Aab) / (1 - Aab)

Kappa values range from 0 to 1:

  • Kappa = 1 indicates perfect agreement
  • Kappa = 0 indicates no agreement beyond chance
  • Kappa greater than 0.7 typically indicates strong agreement
  • Kappa greater than 0.9 is considered excellent

Reference: Cohen J. A coefficient for agreement of nominal scales. Educational and Psychological Measurement 20: 37-46.

Any given gene is associated with a set of annotation terms. If two genes share similar sets of annotation terms, they are likely involved in related biological mechanisms.

To quantify this relationship, DAVID converts gene-annotation associations into a binary matrix format:

  • 1 represents a positive gene-term association
  • 0 represents absence of association

Each gene is therefore represented by a binary annotation profile.

Hypothetical Example

A collection of independent annotation terms is constructed. Each gene associates with some subset of these terms, producing a gene-annotation matrix.

For two genes (gene A and gene B), a 2 by 2 contingency table is constructed based on shared and non-shared annotation terms.

Gene A = 1 Gene A = 0
Gene B = 1 3 terms 0 terms
Gene B = 0 0 terms 1 term

In this example, the calculated Kappa value is 0.66, indicating considerable agreement beyond random expectation.

The higher the Kappa score, the stronger the functional similarity between the two genes.

A biological term represents a set of participating genes. If two biological processes involve similar sets of genes, they may be functionally related.

DAVID applies the same Kappa-based framework to measure agreement between biological terms.

Hypothetical Example

After reducing gene participation to binary form (1 represents participation; 0 represents absence), term A and term B may share multiple genes, while term A and term C share fewer genes.

Raw Data Table
gene 1 gene 2 gene 3 gene n
Term A 1 0 1 1
Term B 1 0 1 1
Term C 0 0 1 0

Constructing contingency tables for term A-B and term A-C yields:

Kappa for Term A-B = 1.0
Kappa for Term A-C = 0.2

Therefore, the relationship of A-B is substantially stronger than that of A-C.