Interactive spatial‑omics analysis & visualisation toolkit for single‑cell and spatial transcriptomics data
Celldega combines scalable computational pipelines with GPU‑accelerated, web‑native visualisations so you can explore millions of cells and transcripts directly inside Jupyter Lab, VS Code, or any modern browser. Built for researchers working with Xenium, Visium HD, MERFISH, and other spatial omics technologies.
pip install celldega
Add this to your startup script for image processing features (more info):
apt update && apt install -y libvips libvips-tools libvips-dev
base_url = 'https://raw.githubusercontent.com/broadinstitute/celldega_Xenium_Prime_Human_Skin_FFPE_outs/main/Xenium_Prime_Human_Skin_FFPE_outs'
landscape_ist = dega.viz.Landscape(
technology='Xenium',
ini_zoom = -4.5,
ini_x=6000,
ini_y=8000,
base_url = base_url,
height = 700,
width= 600
)
file_path = 'https://raw.githubusercontent.com/broadinstitute/celldega_Xenium_Prime_Human_Skin_FFPE_outs/main/Xenium_Prime_Human_Skin_FFPE_outs/df_sig.parquet'
df = pd.read_parquet(file_path)
network = dega.clust.hc(df)
mat = dega.viz.Matrix(network=network, width=500, height=500)
dega.viz.landscape_matrix(landscape_ist, mat)
- 📚 Documentation - Complete guides and API reference
- 🖼️ Gallery - Interactive visualization demos
- 📓 Examples - Jupyter notebooks you can run locally
- 🐍 Python API - Complete Python API
- 🌐 JavaScript API - Complete JavaScript API
Get started contributing in 2 minutes:
git clone https://github.com/broadinstitute/celldega.git
cd celldega
bash ./scripts/setup.sh
source dega/bin/activate
npm run dev
See our Contributing Guide for detailed instructions.
Directory/File | Purpose |
---|---|
src/celldega/ |
🐍 Core Python package |
js/ |
🌐 JavaScript widgets & visualizations |
examples/ |
📓 Jupyter notebook examples |
docs/ |
📚 Documentation source |
js/__tests__/ |
🧪 JS/TS Test suites |
tests/ |
🧪 Python Test suites |
scripts/ |
🔧 Development utilities |
We welcome contributions from the bio community! Whether you're a:
- 🧬 Researcher - Share datasets, create tutorials, improve documentation
- 👩💻 Developer - Add features, fix bugs, optimize performance
- 📚 Educator - Create educational content, examples, workshops
- 🎨 Designer - Improve visualizations, user experience, documentation
Getting started:
- Read our Contributing Guide
- Check open issues for ideas
- Join discussions to ask questions
Questions about using Celldega?
- 💬 Discussions - Ask the community
- 📖 Documentation - Comprehensive guides
- 📓 Examples - Working code you can adapt
Found a bug or want a feature?
If Celldega helps your research, please cite us:
@software{celldega,
title = {Celldega: Interactive spatial‑omics analysis & visualisation toolkit},
author = {{Broad Institute}},
url = {https://github.com/broadinstitute/celldega},
version = {0.12.0},
year = {2025}
}
Celldega is developed at the Broad Institute together with the biology research community. Our mission is to make spatial transcriptomics analysis accessible, interactive, and beautiful.
Built on amazing open source tools:
- deck.gl - GPU-accelerated visualizations
- PyArrow - Fast columnar data processing
- AnnData - Annotated data matrices
- SpatialData - Spatial omics data structures
Made with 🧬 by the Spatial Technology Platform at the Broad Institute