https://github.com/heavywatal/tumopp
🦀 Tumor growth simulation in C++/R
https://github.com/heavywatal/tumopp
c-plus-plus r simulation tumor
Last synced: 11 months ago
JSON representation
🦀 Tumor growth simulation in C++/R
- Host: GitHub
- URL: https://github.com/heavywatal/tumopp
- Owner: heavywatal
- License: mit
- Created: 2015-07-01T07:08:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-06-13T08:32:46.000Z (about 1 year ago)
- Last Synced: 2025-07-07T05:03:40.054Z (12 months ago)
- Topics: c-plus-plus, r, simulation, tumor
- Language: C++
- Homepage: https://heavywatal.github.io/tumopp/
- Size: 2.31 MB
- Stars: 19
- Watchers: 5
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tumopp
[](https://github.com/heavywatal/tumopp/actions)
*tumopp* is a fast and flexible tumor growth simulator.
The core library is written in C++.
It can be installed and run via [R package](https://github.com/heavywatal/rtumopp/).
## Requirements
- Unix-like environment (macOS, Linux, WSL, MinGW on MSYS2, etc.)
- C++17 compiler (clang++ >= Apple clang 11.0, g++ >= 9.1)
- [CMake](https://cmake.org/) (>= 3.21.0)
The following libraries are optional or automatically installed:
- [clippson](https://github.com/heavywatal/clippson)
- [cxxwtl](https://github.com/heavywatal/cxxwtl)
- [pcglite](https://github.com/heavywatal/pcglite)
- [zlib](https://zlib.net)
## Installation
See [tumopp R package](https://heavywatal.github.io/rtumopp/).
## Alternative installation for command-line execution
The easiest way is to use [Homebrew](https://brew.sh/).
The following command installs tumopp with its dependencies:
```sh
brew install heavywatal/tap/tumopp
```
You can manually install the latest version from source code to an arbitrary `DESTINATION`:
```sh
git clone https://github.com/heavywatal/tumopp.git
cd tumopp/
DESTINATION=${HOME}/local
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$DESTINATION
cmake --build build -j 2
cmake --install build -j 2
PATH=${DESTINATION}/bin:$PATH
```
Example:
```sh
tumopp -h
tumopp -N20000 -D3 -Chex -k100 -d0.1 -m0.5 -o OUTPUT_DIR
```
## API Document
- [Online documentation generated with doxygen](https://heavywatal.github.io/tumopp/)
- @ref params
## Reference
Watal M. Iwasaki and Hideki Innan (2017)
"Simulation Framework for Generating Intratumor Heterogeneity Patterns in a Cancer Cell Population"
[*PLOS ONE* 12(9): e0184229](https://doi.org/10.1371/journal.pone.0184229)
[Project page on GitHub](https://github.com/heavywatal/tumopp)