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

<h2>File List</h2><div> <p><a href="abgFunctions.R">abgFunctions.R</a> (MD5: cb64e90444f8ecfa9bd42d7e63325440)   Functions necessary to perform the α, β, γ-diversity decomposition </p> <p><a href="example.R">example.R</a> (MD5: 8e4fa85f9edfa1005b42200e2d6a14f1)   Example of analysis with the phylocom dataset (R-package <i>picante</i>)</p> </div><h2>Description</h2><div> <p>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. </p> </div>