getCellDistance {CancerInSilico} | R Documentation

## get distance between two cells

### Description

get distance between two cells

### Usage

    getCellDistance(model, time, cellA, cellB)

    ## S4 method for signature 'OffLatticeModel'
    getCellDistance(model, time, cellA, cellB)

### Arguments

`model` | cell model object
`time` | hour of the model to query
`cellA` | id of cell to query
`cellB` | id of cell to query

### Value

distance between cellA and cellB

### Examples

    data(SampleModels)
    getCellDistance(modDefault, modDefault@runTime, 1, 2)

[Package CancerInSilico version 2.12.0 Index]