Stem cell proliferation

No preview image

1 collaborator

Default-person Warner Kostes (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by the author
Model was written in NetLogo 6.0.4 • Viewed 90 times • Downloaded 9 times • Run 0 times
Download the 'Stem cell proliferation' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

globals [
  initial_seed_density
  Clear
  Seed_Cells
  Edit_Color
]

patches-own [
  living?         ;; indicates if the cell is living
  live-neighbors  ;; counts how many neighboring cells are alive
]

to setup-blank
  clear-all
  ask patches [ cell-death ]
  reset-ticks
end 

to setup-random
  clear-all
  ask patches
    [ ifelse random-float 100.0 < initial_seeding_density
      [ cell-birth ]
      [ cell-death ] ]
  reset-ticks
end 

to cell-birth
  set living? true
  set pcolor cell_color
end 

to cell-death
  set living? false
  set pcolor background_color
end 

to go
  ask patches
    [ set live-neighbors count neighbors with [living?] ]

  ask patches
     [if live-neighbors = 3
        [ cell-birth ]]

  ask patches
 [ if CHIR
    [if live-neighbors > 3
      [cell-birth]]]

  ask patches
  [ if IWP2
    [if live-neighbors = 3
      [cell-death]]]

 tick
end 

to draw-cells
  let erasing? [living?] of patch mouse-xcor mouse-ycor
  while [mouse-down?]
    [ ask patch mouse-xcor mouse-ycor
      [ ifelse erasing?
        [ cell-death ]
        [ cell-birth ] ]
      display ]
end 

There is only one version of this model, created almost 5 years ago by Warner Kostes.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.