A model for classification of cells into marker positive / negative
Project description
Nimbus Inference
Nimbus is a deep learning model for automated classification of marker expression in multiplexed imaging data. This repository provides code for:
- Inference of the Nimbus model on your multiplexed images.
- Finetuning the Nimbus model on new data if desired.
- Interactive exploration of the Nimbus Gold Standard dataset.
The code for training the Nimbus model from scratch can be found in the angelolab/Nimbus repository
Installation (via pip)
pip install Nimbus-InferenceCreate a Python environment with version 3.9–3.11, then install as shown above.
Example Notebooks
We provide three Jupyter notebooks (in the templates folder), each with its own example dataset that is loaded from the Hugging Face Hub within the notebook:
Each notebook loads an example dataset directly from the Hugging Face Hub, so you can get hands-on with Nimbus right away.
Datasets
We have released two main datasets on the Hugging Face Hub:
-
Pan-Multiplex
- A large, noisy labeled dataset used for training and validation.
- https://huggingface.co/datasets/JLrumberger/Pan-Multiplex
-
Pan-Multiplex Gold-Standard
- A smaller subset of Pan-Multiplex where every cell was manually annotated by experts.
- https://huggingface.co/datasets/JLrumberger/Pan-Multiplex-Gold-Standard
What is Nimbus?
Nimbus is a deep learning model designed to make human-like, visual classifications of multiplexed imaging data by determining which protein markers each cell is positive or negative for. Unlike many existing workflows, Nimbus:
- Uses the raw image pixels (rather than purely integrated intensity) to classify marker expression.
- Generalizes across many tissue types, imaging platforms, and markers — without retraining.
- Can be integrated into downstream clustering or phenotyping pipelines to improve accuracy.
For more details, please see our preprint.
Repository organization
Our github is organized as follows:
- The
READMEfile (which you're looking at now) provides an overview of the project - The
.githubfolder contains code automating jobs via github actions for testing and deployment - The
assetsfolder contains images that are displayed in the README - The
docsfolder allows us to build and maintain updated documentation for the project - The
srcfolder contains the core code for running Nimbus - The
templatesfolder contains example notebooks to provide easy starting examples for new users - The
testsfolder contains code for testing the codebase
For a more detailed look on how to get started, please check out our documentation
Contact
If you have questions, find a bug, or need help:
- Please use the issue tracker.
- We welcome contributions or pull requests to improve Nimbus!
Citation
If you use Nimbus in your work, please cite:
@article{rum2024nimbus,
title={Automated classification of cellular expression in multiplexed imaging data with Nimbus},
author={Rumberger, J. Lorenz and Greenwald, Noah F. and Ranek, Jolene S. and Boonrat, Potchara and Walker, Cameron and Franzen, Jannik and Varra, Sricharan Reddy and Kong, Alex and Sowers, Cameron and Liu, Candace C. and Averbukh, Inna and Piyadasa, Hadeesha and Vanguri, Rami and Nederlof, Iris and Wang, Xuefei Julie and Van Valen, David and Kok, Marleen and Hollman, Travis J. and Kainmueller, Dagmar and Angelo, Michael},
journal={bioRxiv},
pages={2024--05},
year={2024},
publisher={Cold Spring Harbor Laboratory}
}
Project details
Release history Release notifications | RSS feed
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 nimbus_inference-0.0.4.tar.gz.
File metadata
- Download URL: nimbus_inference-0.0.4.tar.gz
- Upload date:
- Size: 20.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0523d44d1bc2eb9d27aeaf526f7bac594abc0571153a7eeda5306439b68ec332
|
|
| MD5 |
7b3474b3ebead526241f5c8232d615e2
|
|
| BLAKE2b-256 |
b7c67a14a197824eafdfa4bfc62788559357f718804f1dba2755cd800175f9c8
|
File details
Details for the file nimbus_inference-0.0.4-py3-none-any.whl.
File metadata
- Download URL: nimbus_inference-0.0.4-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab65c98b1a9ea7329acbd57f23df95b6b85ecfbf9e56d1c298a847fe85a2628
|
|
| MD5 |
1a519ef3899daa81b002be9dd0e24914
|
|
| BLAKE2b-256 |
cde89f0427a7b3ec4ec58f48064013c3e6cbd0a4eefed3368d1e1e4cc0280d4d
|