There is a newer version of the record available.

Published April 29, 2022 | Version v1

Scripts of data selection and analysis: role of community size in driving spatial variation in riverine fish metacommunities around the world

  • 1. Institute of Biosciences, São Paulo State University (UNESP)

Description

Here we provide R scripts used to select and analyze data to investigate the role of community size in mediate the strength of ecological drift and environmental selection in driving community spatial variation in metacommunities.

We selected fish abundance data publicly available and measured community size to model against beta diversity and beta deviation metrics (Shannon and Jaccard-Chao) and against other communities descriptors (evenness, rank difference and richness difference). We also selected environmental variables to measure the strength of community-environment relationships using Hierarchical Modelling of Species Communities and model against community size.

Notes

C.M.J. was supported by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior-Brasil (CAPES) - Finance Code 001 for funding. T.S. was supported by grant #21/00619-7, São Paulo Research Foundation (FAPESP) and by grant #309496/2021-7, Brazilian National Council for Scientific and Technological Development (CNPq).

Files

codes_data.zip

Files (3.4 MB)

Name Size Download all
md5:e17d6c2d02b575bde9b9aa168137bfe6
3.4 MB Preview Download