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 are 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 docs folder.

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.2.0.tar.gz (30.6 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.2.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tcampy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 aaaf9e679414ea3932e31da44e0ed391982aa9f90e32faf7795e79b6195ff55a
MD5 a3a5add5a98791dc9515037a6bbe668d
BLAKE2b-256 1f81ae15cd22897106053a3aca61342ad3deafd990bbfd765088ac7132b516da

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tcampy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a4af4778d7ffc4a1b760bf2985c05ef99c782fd67902b21ad3bd1478052c9d9
MD5 2cdb7e8b926d4ec4cbb549644efba6f2
BLAKE2b-256 05ad3ad0c29c02b741449e8680501eb2eef300c81c7ea711133ecdead2e4382d

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