getLocalDensity {CancerInSilico} | R Documentation

## get neighborhood density around a cell at a given time

### Description

get neighborhood density around a cell at a given time

### Usage

    getLocalDensity(model, time, cell, radius)

    ## S4 method for signature 'OffLatticeModel'
    getLocalDensity(model, time, cell, radius)

### Arguments

`model` | cell model object
`time` | hour of the model to query
`cell` | id of cell to query
`radius` | distance to search for neighboring cells

### Value

density

### Examples

    data(SampleModels)
    getLocalDensity(modDefault, modDefault@runTime, 1, 3.3)

[Package CancerInSilico version 2.12.0 Index]