GithubHelp home page GithubHelp logo

2evolutionmodes's Introduction

2EvolutionModes

DOI

This project contains:

  • code to simulate evolution under directional selection and Gamma-distributed mutation effects ("DirectionalSelection_Gamma.R").

  • code to simulate evolution under competition for resources, adapted from Amicone and Gordo 2021, https://doi.org/10.1111/evo.14315 ("EcologicalSelection_Amicone2021.R").

  • metadata file to run the R scripts ("Metadata_*.txt") under the two different models and the conditions reported in Extended Data Figure 10 of Frazao et al. 2022.

  • outcome of simulations produced when running "DirectionalSelection_Gamma.R" with conditions specified in "Metadata_DirSel.txt".

Instructions to reproduce the row data presented in Extended Data Figure 10 of Frazao et al. 2022:

  1. Install R (We used R version 3.6.1 (2019-07-05))

  2. Access via terminal the folder containing the scripts and metadata files.

  3. Run simulations from bash command line as:

bash Metadata_DirSel.txt (this should take less than 10 minutes and produce the outcome of simulations under directional selection)

bash Metadata_EcoSel.txt (this should take less than 1 hour and produce the outcome of simulations under competition for resources)

  1. Access the output folders to see the tables of raw data of mutation trajectories across population.

In order to produce the final statistics reported in Frazao et al. 2022, these raw data were processed by the code described in the supplementary materials of Frazao et al. 2022.

2evolutionmodes's People

Contributors

amiconem avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.