The R program is available as supplementary file (File S2) and can be applied to any presence-absence data to calculate the corrected chi-square and the associated P-values. A tutorial example (File S3) illustrates its use step-by-step using an example dataset (File S4).