Coder Social home page Coder Social logo

ap-browning / scratchibm Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 19.99 MB

Supplementary material for "Identifying density-dependent interactions in collective cell behaviour"

Home Page: https://royalsocietypublishing.org/doi/10.1098/rsif.2020.0143

MATLAB 54.85% C 45.15%
experimental-data scratch-assays individual-based-modelling

scratchibm's Introduction

scratchIBM

Supplementary data, and code, for

"Browning AP, Jin W, Plank MJ, Simpson MJ (2019) Identifying density-dependent interactions in collective cell behaviour" J R Soc Interface 17:20200143.

Preprint available on bioRxiv.

Experimental data

Raw data in the /Data folder corresponds to experiment indices in the main document as follows:

Index Folder
1 8000_E2
2 8000_G2
3 10000_H1
4 10000_H2
5 8000_F2
6 10000_A2
7 12000_H3
8 12000_F3
9 12000_D2

Experimental data is recorded 12 h after seeding. Hence, raw data indicated by filename ending corresponds to the following times:

Filename end Time
"_12h" 0 h
"_30h" 18 h
"_48h" 36 h

For more details, see ExperimentalData.xlsx

Code

Requirements

  • MATLAB R2018a or later
  • MEX and C compiler
  • (optional) Parallel computing toolbox If you do not have this toolbox, you must replace parfor with for in the following files:
    1. ABC_SimulateModel.m
    2. ABC_SMC.m

Installation

Before use, you must compile the MEX code contained in IBM.c using the Install.m script or typing:

mex IBM.c  -R2018a

into the command window.

Examples

Simulating IBM

See Example_IBM.m for an example IBM realisation.

ABC Rejection

  • Parallel computing toolbox highly recommend
  • This function can take a large amount of time to run for Nsamples > 100
    • We have set Nsamples = 100 and alpha = 0.1 for demonstrative purposes

Run Example_ABCRejection.m code (in the main document, we use Nsamples = 100000)

ABC SMC Model Selection

  • Parallel computing toolbox highly recommend
  • This function can take a large amount of time to run for N > 10
    • We have set N = 8 and not used the full sequence of thresholds for demonstrative purposes

Run Example_ABCSMC.m code (in the main document, we use Nsamples = 5000)

scratchibm's People

Contributors

ap-browning avatar

Stargazers

 avatar

Watchers

 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.