Giter Site home page Giter Site logo

jeffreywest / prisoners_dilemma_cancer_model Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 127 KB

A cancer model based in the Prisoner's Dilemma evolutionary dynamics game, originally published in SIAM Review

License: MIT License

MATLAB 36.78% M 2.81% C 60.40%

prisoners_dilemma_cancer_model's Introduction

Prisoner's Dilemma as a cancer model

Author: Jeffrey West, Date: 2 - 29 - 2016

Publications

This code or code developed on top of this framework has been used in the following publications:

The Prisoner's Dilemma as a cancer model

An evolutionary model of tumor cell kinetics and the emergence of molecular heterogeneity driving Gompertzian growth

How to use:

This code is written for use in MatLab, main.m is the executable file and buildA.m, buildQ.m, checkMutation.m, chooseBirthType.m, chooseDeathType.m are functions used by the main.m executable.

Parameters

The code runs an evolutionary dynamics simulation, which is a constant population process (N = # of cells competing = constant). The selection pressure, w, varies between 0 (no selection, equivalent to the Moran Process) and 1 (full selection pressure: maximum effect of the Prisoner's Dilemma).

This simple model encompasses two phenotypes (healthy, cancer) which consist of 2^b genetic types in total, where b is the bit length of the 'numerical genome' of each cell. For example, for b = 4, there are 16 genetic types which are course-grained into 11 healthy and 5 cancer types.

Phenotype - Genotype Mapping

This code runs a single stochastic simulation and plots the result.

prisoners_dilemma_cancer_model's People

Contributors

jeffreywest avatar

Watchers

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