Supplement 1. R scripts for performing the α, β, γ decomposition.

File List

abgFunctions.R (MD5: cb64e90444f8ecfa9bd42d7e63325440)   Functions necessary to perform the α, β, γ-diversity decomposition

example.R (MD5: 8e4fa85f9edfa1005b42200e2d6a14f1)   Example of analysis with the phylocom dataset (R-package picante)

Description

The R-scripts are designed to assist the reader to use the methods of the article. The example shows how to use them to calculate the α, β, γ-diversity of a meta-community either through Chao's diversity index or Leinster & Cobbold. We also provide the functions to calculate inter-community pairwise distance matrices.