An app for exploring spatial transcriptomics and cell segmentations by overlaying data
Project description
Gene Visualization Tool (cellColor)
An interactive desktop application to visualize spatial transcriptomics data, cell segmentation masks, and microscopy images.
Ideal for verifying cell segmentation accuracy and exploring spatial gene expression patterns.
👥 Credits & Project Team
Developer: Anthea Guo
Mentor: Kushal Nimkar
Principal Investigator (PI): Prof. Karthik Shekhar
✨ Features
-
Image Loading & Zooming
- Load tissue/microscopy images.
- Zoom into image regions by clicking and dragging.
- Reset zoom to full view.
-
Cellpose Segmentation Overlay
- Load and overlay Cellpose-generated segmentation masks (colored regions) or outlines (borders).
- Smooth zooming with cached mask resizing.
-
Transcript Visualization
- Import detected transcript coordinates (e.g., CSV/TSV with
x,y,genefields). - Apply transformation matrices to align transcript data with image.
- Select genes from a dropdown to overlay their transcript locations.
- Manage multiple gene overlays via a scrollable panel.
- Import detected transcript coordinates (e.g., CSV/TSV with
-
Single-Cell Integration
- Load AnnData cell center positions (
.h5adfiles). - Toggle cell centers on/off with customizable color and size.
- Load AnnData cell center positions (
-
User-Friendly Toolbar
- Intuitive toggle buttons to control overlays and zoom actions.
- Status bar for live feedback.
- Organized layout with collapsible frames for easy navigation.
-
Data Alignment
- Supports loading transformation matrices to align transcript data accurately with images.
🚀 Installation
Option 1: Local Development (Editable Mode)
Clone the repo and install in dev mode:
git clone https://github.com/crocodile27/cellColor.git
cd cellColor
conda create -n cellcolor python=3.10
conda activate cellcolor
pip install -e .
Run the app locally:
cellColor
Option 2: Install via PyPI (v0.1.0)
Install directly from PyPI:
pip install cellColor
This corresponds to the release published on September 1, 2025, version 0.1.0 (pypi.org ).
Launching the App
cellColor
📂 Supported Data Formats
Image: .png, .jpg, .tif, etc.
Cellpose Masks: .npy arrays or image mask formats.
Detected Transcripts: CSV/TSV containing x, y, gene columns.
Transformation Matrix: CSV/TSV defining alignment matrix.
AnnData: .h5ad format with cell coordinate metadata.
🧪 Example Workflow (Happy Path)
Open the app: cellColor.
File → Load Image to display your tissue section.
File → Load Detected Transcripts and Transformation Matrix.
File → Load Cellpose Masks, then enable Show Cellpose Masks.
Choose a gene from the dropdown; its transcript spots should appear.
Optionally, File → Load AnnData Cell Centers and enable Show Cell Centers.
Zoom in on interesting areas; use Reset Zoom to go back.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cellcolor-0.1.2.tar.gz.
File metadata
- Download URL: cellcolor-0.1.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ef34ebf11a92da6896296c7b083094a4ad73c0cbf2d2144588f6f80ccaa3fd
|
|
| MD5 |
a140587ba7d7bcadabdb8281dc7c3514
|
|
| BLAKE2b-256 |
3f1def0c75a31fe2328a390b1574325fa7529e1fb0fa9488aef94265bacfb011
|
File details
Details for the file cellcolor-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cellcolor-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19d454289c9656b4bb7d7fe6d2ec677e60f41808d634c652c93a334f97820748
|
|
| MD5 |
bae4aee3edb615108b72c2755937dd61
|
|
| BLAKE2b-256 |
7d1fbad000f3d42c2a81ea66577ada050983526df672beb3842414c97cc336e5
|