Alvarenga etal. 2021 data set and project
Creators: name: Alvarenga, Allan Maurício Sanches Baptista De
name: Borges, Marcelo Eduardo
name: Jorge, Leonardo Ré
name: Varassin, Isabela Galarda
name: Araújo, Sabrina Borges Lino
Publisher: name: Zenodo
Year: 2021
Subjects: Coevolution, Ecology, networks, Antagonism

description: Individual behavior and local context are processes that can influence the structure and evolution of ecological interactions. In trophic interactions, consumers can increase their fitness by actively choosing resources that enhance their chances of exploring them successfully. Upon searching for potential resources, they are able to decide which one to choose according to their fitness benefit and maneuverability. Mathematical modeling is often employed in theoretical studies to understand the coevolutionary dynamics between these species. However, they often disregard the individual consumer behavior since the complexity of these systems usually requires simplifying assumptions about interaction details. Using an individual-based model, we model a community of several species that interact antagonistically. The trait of each individual is modeled explicitly and is subjected to the interaction pressure. In addition, consumers can actively choose the resources that guarantee greater fitness. We show that active consumer choice can generate coevolutionary units over time. It means that the traits of both consumers and resources converge into multiple groups with similar traits, exerting reciprocal selective pressure between them. We also observed that network structure has a greater dependence on the parameter that delimits active consumer choice than on the intensity of selective pressure. As a consequence, this parameter can closely match empirical networks. Thus, we consider that the inclusion of consumers' active choice behavior in the models plays an important role in the ecological and evolutionary processes that structure these communities. We used a project-oriented Workflow with R-Studio to keep our paper reproducible. You need to install all the packages and their dependencies to achieve this goal. The project is organized according to the diagram below which highlights the main files (we try to make the names as self-explanatory as possible), followed by a brief description: <br> /alvarenga-etal-2021 # root<br> ├── 00-data-cleaning.Rmd # Preparation of raw data<br> ├── 01-introduction.Rmd<br> ├── 02-methods.Rmd<br> ├── 03-results.Rmd<br> ├── 04-discussion.Rmd<br> ├── Alvarenga-etal-2021.Rproj <br> ├── _book # Final files of project (.pdf, .tex)<br> ├── _bookdown_files # intermediate figures created in the process.<br> ├── _bookdown.yml # You can control which .Rmd file to compile <br> ├── data<br> │ ├── data-processed # data cleaned, organized ans ready to use<br> │ ├── networks # Interaction networks (output FORTRAN)<br> │ ├── output_fdif # outputs FORTRAN (phenotype)<br> ├── figs # figures of main and supplementary documents)<br> ├── index.Rmd # Use to configurate the paper/ load the packages<br> ├── output # analysis results, data to plot<br> │ ├── data<br> ├── packages.bib<br> ├── packrat # library with all packages necessary to run the project<br> ├── proceedings-of-the-royal-society-b.csl # To control citations<br> ├── R # scripts in R<br> │ └── fct # functions created<br> └── references.bib<br> You need to know a little about R, RStudio and projects with RStudio. If you understand a little bit of Rmarkdown it helps too. After installing the packages and dependencies, just click on the build book button in the build tab and all the work will be done in a few minutes. The final products of this project are .tex and .pdf archives (drafts) of the paper contains all sections.
description: The unpacked folder has 140 GB, so it will take a while depending on your hardware. If you want to reproduce the analyzes through data cleaning, network metrics calculations and other analyzes, be prepared to spend a few weeks. If you want to compile the data in a pdf file, with all the analyzes on the data already processed, it will only take some minutes