Computes the Chao lower bound estimated number of gene clusters in a pan-genome.
The size of a pan-genome is the number of gene clusters in it, both those observed and those not yet observed.
The input pan.matrix is a
Panmat object, i.e. it is a matrix with one row for each
genome and one column for each observed gene cluster in the pan-genome. See
for how to construct such objects.
The number of observed gene clusters is simply the number of columns in pan.matrix. The number of gene clusters not yet observed is estimated by the Chao lower bound estimator (Chao, 1987). This is based solely on the number of clusters observed in 1 and 2 genomes. It is a very simple and conservative estimator, i.e. it is more likely to be too small than too large.
The function returns an integer, the estimated pan-genome size. This includes both the number of gene clusters observed so far, as well as the estimated number not yet seen.
Lars Snipen and Kristian Hovde Liland.
Chao, A. (1987). Estimating the population size for capture-recapture data with unequal catchability. Biometrics, 43:783-791.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.