Skip to main content

Cellular Automaton Model for Tumor Growth

Project description

TCAMpy

This is a single python module for a cellular automaton, modeling tumor growth. The user can set the parameters, create unique initial states, view and save statistics, save data and also use a streamlit dashboard as a graphical interface. Growth plots, histograms and animation is available for visualization in an easy to use way. (Online version available here, without writing a single line a code: Online dashboard.)

The theoretical background for this model is based on the work of Carlos A Valentim, José A Rabi and Sergio A David. I expanded this model by simulating an immune response during the growth of the tumor cells, as well as random mutations, influencing tumor survival. Other ideas, like nutrition may also be implemented in the future. There are also basic Machine Learning functions for dataset generation, model training, and predicting tumor size or confluence based on a new set of parameters.

Valentim CA, Rabi JA, David SA. Cellular-automaton model for tumor growth dynamics: Virtualization of different scenarios. Comput Biol Med. 2023 Feb;153:106481. doi: 10.1016/j.compbiomed.2022.106481. Epub 2022 Dec 28. PMID: 36587567. (url: https://pubmed.ncbi.nlm.nih.gov/36587567/)

This documentation provides detaild description on how to use the module, with example codes and links to example files. Detailed description is available in the uploaded paper: [to be uploaded]

Example Results

Visualization from running a single model. If enabled, the user recieves an image of the growth, a map for mutations, a line graph of cell numbers over time and a histogram of proliferation potentials.

Plot example

Animation is available to turn on when running the model as well. Visualizing a dataframe containing results from multiple model executions is also possible. A cell number line graph of the average numbers and a histogram of the average proliferation potentials can be plotted with standard deviations.

Averages plot example


Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcampy-0.1.1.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tcampy-0.1.1-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file tcampy-0.1.1.tar.gz.

File metadata

  • Download URL: tcampy-0.1.1.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tcampy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eba132b482e27fa298139fbdad9d1c35037837761cabd7ccb01228e06fe5f5fe
MD5 8ac07588b13096273e65c5aae56a8d48
BLAKE2b-256 12df108825346b8779b75900fb8f82ea37a233c323af9fb3238548942a37702f

See more details on using hashes here.

File details

Details for the file tcampy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tcampy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tcampy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 600f8274166d261c4ca7dfdcb999c6dbea65b028d001746c6a08017d2a926a7a
MD5 df257275ee7780548b6d0d51aff7d583
BLAKE2b-256 f76a0daac8b0cf014c5c76ec9224f3c0cbc8ff5ee47a151071f9e21eea9e9e49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page