Single-cell Cytometry Annotation Network
Project description
🧬 Single-cell Cytometry Annotation Network
Based on biological knowledge prior, Scyan provides a fast cell population annotation without requiring any training label. It is an interpretable model that also corrects batch-effect and can be used for debarcoding, cell sampling, and population discovery.
Documentation
The complete documentation can be found here. It contains installation guidelines, tutorials, a description of the API, etc.
Overview
Scyan is a Bayesian probabilistic model composed of a deep invertible neural network called a normalizing flow (the function $f_{\phi}$). It maps a latent distribution of cell expressions into the empirical distribution of cell expressions. This cell distribution is a mixture of gaussian-like distributions representing the sum of a cell-specific and a population-specific term. Also, interpretability and batch effect correction are based on the model latent space — more details in the article's Methods section.
Getting started
Installation
Scyan can be installed on every OS with pip for python>=3.11:
pip install scyan
Basic usage / Demo
import scyan
adata, table = scyan.data.load("aml") # Automatic loading
model = scyan.Scyan(adata, table)
model.fit()
model.predict()
This code should run in approximately 40 seconds (once the dataset is loaded). For more usage demo, read the tutorials or the complete documentation.
Cite us
Our paper is published in Briefings in Bioinformatics and is available here.
@article{10.1093/bib/bbad260,
author = {Blampey, Quentin and Bercovici, Nadège and Dutertre, Charles-Antoine and Pic, Isabelle and Ribeiro, Joana Mourato and André, Fabrice and Cournède, Paul-Henry},
title = "{A biology-driven deep generative model for cell-type annotation in cytometry}",
journal = {Briefings in Bioinformatics},
pages = {bbad260},
year = {2023},
month = {07},
issn = {1477-4054},
doi = {10.1093/bib/bbad260},
url = {https://doi.org/10.1093/bib/bbad260},
eprint = {https://academic.oup.com/bib/advance-article-pdf/doi/10.1093/bib/bbad260/50973199/bbad260.pdf},
}
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 scyan-1.7.2.tar.gz.
File metadata
- Download URL: scyan-1.7.2.tar.gz
- Upload date:
- Size: 49.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3602a3091518354ca6292f11092174262a265a7747d07b22b47b5b939b716ebe
|
|
| MD5 |
046e116099a2bedbc0f717e9fb79a55c
|
|
| BLAKE2b-256 |
8a6179deba6abc5c35a7fe1af00e90e67967666d4b4e57fcb3f8e2f0563a8ee4
|
File details
Details for the file scyan-1.7.2-py3-none-any.whl.
File metadata
- Download URL: scyan-1.7.2-py3-none-any.whl
- Upload date:
- Size: 63.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeba1f3dead8f77f4dce2b5c623cb5cd4470d9c9034ebf305c84c25d9f37f68f
|
|
| MD5 |
41f7612a7b17bc9ebdb8252ce7a7e69f
|
|
| BLAKE2b-256 |
07ce8f4d116f74cb1379c9114cdbfa46bd4bf20d169e70ce1e351dae9dac52c9
|