Simulates cell evolution
Examples
# set the seed of the random number generator
set.seed(0)
# create a simulation
sim <- SpatialSimulation()
sim$add_mutant("A", growth_rate = 0.2, death_rate = 0.1)
sim$place_cell("A", 500, 500)
# simulate the tissue up to simulate timed 100
sim$run_up_to_time(40)
#>
[████████████████████████████████████████] 100% [00m:00s] Saving snapshot