Skip to main content

An app for exploring spatial transcriptomics and cell segmentations by overlaying data

Project description

Gene Visualization Tool (cellColor)

An interactive desktop application for visualizing spatial transcriptomics data, cell segmentation masks, and microscopy images.
Perfect 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 regions, and reset to full view.

  • Cellpose Segmentation Overlay:
    Overlay Cellpose-generated segmentation masks or outlines with smooth, cached zooming.

  • Transcript Visualization:
    Import transcript coordinates (x, y, gene), align with images using transformation matrices, and overlay selected genes.

  • Single-Cell Integration:
    Load AnnData cell center positions (.h5ad), toggle display, and customize appearance.

  • User-Friendly Toolbar:
    Intuitive controls for overlays and zoom, live status feedback, and collapsible navigation frames.

  • Data Alignment:
    Load transformation matrices for accurate transcript-image alignment.


🚀 Installation

Option 1: Local Development (Editable 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 locally:

cellColor

Option 2: Install via PyPI (v0.1.0)

pip install cellColor

Release: September 1, 2025 (PyPI link)

Launch:

cellColor

📂 Supported Data Formats

  • Images: .png, .jpg, .tif, etc.
  • Cellpose Masks: .npy arrays or image masks.
  • Detected Transcripts: CSV/TSV with x, y, gene columns.
  • Transformation Matrix: CSV/TSV for alignment.
  • AnnData: .h5ad with cell coordinates.

🧪 Example Workflow

  1. Open the app: cellColor
  2. Load image:
    File → Load Image to display tissue section.
  3. Load transcripts & matrix:
    File → Load Detected Transcripts and Transformation Matrix.
  4. Load Cellpose masks:
    File → Load Cellpose Masks, then enable Show Cellpose Masks.
  5. Overlay gene transcripts:
    Select a gene from the dropdown to view transcript spots.
  6. (Optional) Load cell centers:
    File → Load AnnData Cell Centers, enable Show Cell Centers.
  7. Zoom & reset:
    Zoom into areas of interest; use Reset Zoom to return.

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

cellcolor-0.1.3.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cellcolor-0.1.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file cellcolor-0.1.3.tar.gz.

File metadata

  • Download URL: cellcolor-0.1.3.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for cellcolor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7321c25a5aa5fb5b764d19ae9f4c080a9f8f413031d1bb01bbad9733c21eeeeb
MD5 7950bfcbe2bdaacfea0b941e35772b3b
BLAKE2b-256 69c1e57695fe8d2753775205310e95f4ffd7ead694b26ddf6a499bbba332e13e

See more details on using hashes here.

File details

Details for the file cellcolor-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cellcolor-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for cellcolor-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 062f9372005946b83b81d27c2f787af80020e6e13dd5a9598922fb9db56b20cd
MD5 aa2af26b04309e3ac0d6d224b9c8f9c7
BLAKE2b-256 27e6f556a54837fafa26d849594574edd6974ca799785675821f0cbabcd7dd3b

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