inSilicoCellModel {CancerInSilico} | R Documentation

## Simulates Cell Model

### Description

Simulates Cell Model

### Usage

    inSilicoCellModel(initialNum, runTime, density, modelType = "DrasdoHohme",
      ...)

### Arguments

`initialNum` | how many cells initially
`runTime` | how long the simulation runs in real cellular time (hours)
`density` | initial density of cell population
`modelType` | the name of the cell-based model to use
`...` | model specific parameters (depends on modelType)

### Details

This function provides a centralized R interface to run c++ code for cell-based models implemented in this package. Standard parameters, as well as model-specific parameters, are passed in to this function along with a model name. This function then runs the model and returns a CellModel object containing all of the information from the model. This object can then be accessed with various functions designed to interact with the class. To see a list of available functions, there is a show() command implemented for CellModel objects.

### Value

A CellModel containing all info from the model run

### Examples

    inSilicoCellModel(initialNum=1, runTime=8, density=0.1)

[Package CancerInSilico version 2.4.0 Index]