⚙️ Installation Guide for TumorTwin
TumorTwin is tested with Python 3.11, and we recommend using a virtual environment for a clean setup.
Prerequisites
- Python (tested on Python 3.11)
git
- A package manager like Anaconda or
pip
Option 1: Using Anaconda (recommended for most users)
-
Install Anaconda (if not already installed):
https://docs.anaconda.com/anaconda/install -
Create a new environment with Python 3.11:
- Activate the environment:
Option 2: Using venv
(lightweight setup)
- Create a virtual environment:
-
Activate it:
-
On macOS/Linux:
-
On Windows:
Install TumorTwin
- Clone the repository:
-
Install dependencies:
-
Standard installation:
-
Development mode (editable install + dev tools):
Optional: Running the Demo
Open HGG_Demo.ipynb
or TNBC_Demo.ipynb
in Jupyter, VS Code, Colab or your preferred IDE.