Calculates Rao's quadratic entropy, a measure of within- and among-community diversity taking species dissimilarities into account

1 |

` comm ` |
Community data matrix |

` phy ` |
Object of class phylo - an ultrametric phylogenetic tree (optional) |

Rao's quadratic entropy (Rao 1982) is a measure of diversity in ecological communities that can optionally take species differences (e.g. phylogenetic dissimilarity) into account. This method is conceptually similar to analyses of genetic diversity among populations (Nei 1973), but instead of diversity of alleles among populations, it measures diversity of species among communities.

If no phylogeny is supplied, Dkk is equivalent to Simpson's diversity (probability that two individuals drawn from a community are from different taxa), Dkl is a beta-diversity equivalent of Simpson's diversity (probability that individuals drawn from each of two communities belong to different taxa), and H is Dkl standardized to account for within-community diversity.

If an ultrametric phylogeny is supplied, Dkk is equivalent to the mean pairwise phylogenetic distance (distance to MRCA) between two individuals drawn from a community, Dkl is the mean pairwise phylogenetic distance between individuals drawn from each of two communities, and H is Dkl standardized to account for within-community diversity.

*D[kl] = sum(t[ij] * x[ki] * x[lj])*

where *x[ki]* is the relative abundance of taxon *i* in community *k* and *t[ij]* is a matrix of weights for all pairs of taxa *i,j*. Without a phylogeny, when *i=j*, *t[ij]=0*, otherwise *t[ij]=1*. With a phylogeny, *t[ij]* is the phylogenetic distance to MRCA for taxa *i,j*.

*H[kl] = D[kl] - (D[kk] + D[ll])/2*

Alpha, beta and total measure the average diversity within, among, and across all communities based on Dkk and H values taking variation in number of individuals per community into account. A Fst-like measure is calculated by dividing beta by the total diversity across all samples.

A list of results

` Dkk ` |
Within-community diversity |

` Dkl ` |
Among-community diversity |

` H ` |
Among-community diversities excluding within-community diversity |

` total ` |
Total diversity across all samples |

` alpha ` |
Alpha diversity - average within-community diversity |

` beta ` |
Beta diversity - average among-community diversity |

` Fst ` |
Beta diversity / total diversity |

Alpha, beta, and total diversity components and Fst should not be interpreted as a measure of relative differentiation among versus within communities. See Jost (2007) for a detailed description of this problem. Hardy and Jost (2008) suggest Fst can be interpreted as 'local species identity excess' or 'local phylogenetic similarity excess' rather than as a measure of among-community differentiation.

Steven Kembel <steve.kembel@gmail.com>

Hardy, O.J., and Jost. L. 2008. Interpreting and estimating measures of community phylogenetic structuring. J. Ecol. 96:849-852.

Jost, L. 2007. Partitioning diversity into independent alpha and beta components. Ecology 88: 24272439.

Nei, M. 1973. Analysis of gene diversity in sub-divided populations. Proceedings of the National Academy of Sciences of the USA 70:3321-3323.

Rao, C.R. 1982. Diversity and dissimilarity coefficients: a unified approach. Theoretical Population Biology 21:2443.

Webb, C.O., Ackerly, D.D., and Kembel, S.W. 2008. Phylocom: software for the analysis of phylogenetic community structure and trait evolution. Version 4.0.1. http://www.phylodiversity.net/phylocom/.

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.