GithubHelp home page GithubHelp logo

plasmidpersistencepotential_tengwang's Introduction

Plasmid-Persistence-Potential

This is the repository for the Matlab codes of the numerical simulations of plasmid dynamics in complex communities. This repository includes five scripts. The scripts can be used to generate the figures in the main text and supplementary information of the article "the persistence potential of plasmids"

Script 1: SimulationExample.m

  • This code simulates the steady-state distribution of plasmids in a single community. It can be adapted to generate Fig.1C and Fig.S1B in the article.

Script 2: CompareTwoFrameworks_SinglePlasmid.m

  • This code calculates the discrepancy between SCF and PCF for single-plasmid communities, which corresponds to Fig. S2A in the supplementary information.

Script 3: CompareTwoFrameworks_TwoPlasmids.m

  • This code calculates the discrepancy between SCF and PCF for two-plasmid communities, which corresponds to Fig. S2B in the supplementary information.

Script 4: PersistencePotential.m

  • This code generates the steady-state plasmid abundance as a function of persistence potential, which corresponds to Fig. 3C in the manuscript.

Script 5: PersistencePotentialBeforeSteadyState.m

  • This code calculates the plasmid abundance and persistence potential before the system reaches the equilibrium state, which corresponds to Fig. S3 in the supplementary information.

plasmidpersistencepotential_tengwang's People

Contributors

tengwang1993 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.