Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.
forked from ssm57/CandN

Code for paper "Alternative stable states in a model of microbial community limited by multiple essential nutrients"

License

Notifications You must be signed in to change notification settings

elifesciences-publications/CandN

 
 

Repository files navigation

CandN

The project contains files for Dubinkina, V., Fridman, Y., Pandey, P., & Maslov, S. (2018). Alternative stable states in a model of microbial community limited by multiple essential nutrients. bioRxiv, 439547.

Related to Dubinkina V et al., 2019, 'Multistability and regime shifts in microbial communities explained by competition for essential nutrients'. eLife. https://doi.org/10.7554/eLife.49720

Contents of the folder:

  • Dynamic_Stability_L2/ - contains code which performs dynamic perturbation analysis for 2Cx2Nx4S model

  • Marriage_Algorithm.ipynb - implementation of marriage algorithm for enumeration of allowed and uninvadable states for a given set of lambdas

  • MonteCarlo_Feasibility.ipynb - implementation of Monte-Carlo spanning of a flux space to get feasibility regions of states for a given set of lambdas and yields

  • Yield_Variation.ipynb - implementation of Monte-Carlo spanning of a flux space to get feasibility regions of states for a given set of lambdas and various yields drawn from a distribution

  • Analyze_2Cx2N.R - code which performs analysis of Monte-Carlo spanning results for 2Cx2Nx4S model (for one set of yields and number of yields drawn from a distribution)

  • Analyze_6Cx6N.R - code which performs analysis of Monte-Carlo spanning results for 6Cx6Nx36S model

  • Functions.R - some customized functions for plotting

  • C6_N6_notes.m - file with Matlab code used in the analysis of 6Cx6Nx36S example

  • Plots/ - folder containing plots ...

Additional files with numerical simulation results used in the above scripts could be obtained from: [Named Link]LINK

About

Code for paper "Alternative stable states in a model of microbial community limited by multiple essential nutrients"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 65.7%
  • C 21.6%
  • R 8.0%
  • MATLAB 4.6%
  • Makefile 0.1%