A dashboard for the CellPhe cell phenotyping library.
The dashboard is run locally so that you are in full control of your images and do not need to upload them anywhere. It is cross-platform and runs in a web browser and doesn't require any coding experience beyond that required to run the CellPhe python package.
The only prerequisite is to install Docker (or Docker Desktop for Windows users). Optionally you can run the dashboard from the source code, although this is more involved and slower as it requires manually installing the dependencies. However, if you are unable to install Docker on your computer due to the elevated permissions it needs to run, then this might be necessary.
Simply download the Docker image from this repository by running the following command in a terminal or command prompt:
docker pull ghcr.io/uoy-research/cellphe-dashboard:mainThen run it:
docker run --rm -p 8501:8501 ghcr.io/uoy-research/cellphe-dashboard:mainYou can then access the app by navigating to http://127.0.0.1:8501/ in a web-browser.
The app can be run without Docker, although it will require installing the dependencies by hand which takes some time. NB: Currently Python 3.12 is the supported version, other versions may require tweaking the Python dependencies.
The tracking functionality depends on the ImageJ plugin TrackMate, which in turn depends on having a Java runtime available. We recommend the Eclipse Temurin variant, which is built on OpenJDK and is free, stable, and widely supported.
- Download: Go to the Adoptium Temurin website.
- Select & Install:
- Windows: Click the "Latest LTS Release" button. Run the downloaded
.msifile and follow the prompts. (Ensure the "SetJAVA_HOMEvariable" option is checked during installation). - macOS: Download the
.pkgfile for your chip type (Apple Silicon or Intel). Open it and follow the installation prompts. - Linux (Debian/Ubuntu): Open a terminal and run the following (NB: you can also install Canonical's build from the
openjdk-21-jdkpackage)sudo apt update sudo apt install temurin-21-jdk
- Windows: Click the "Latest LTS Release" button. Run the downloaded
After installing, open a new terminal/command prompt and run:
java -versionIf you see the version details, your Java installation is successful and you are ready to setup the Python environment. Firstly, clone this repository and change into it:
git clone https://github.com/uoy-research/CellPhe-dashboard.git
cd CellPhe-dashboardThen install the Python prequisites, ideally in a new virtual environment:
pip install -r requirements.txtThen you can run the app although NB: the first time tracking is run it will take some time to setup an ImageJ instance.
streamlit run CellPheDashboard.py --server.port=8501 --server.address=0.0.0.0