scPyviewer#
scPyviewer
A Python-native interactive viewer and publication-quality plotting API for single-cell AnnData.
scPyviewer ingests an AnnData (.h5ad) object directly — no Seurat conversion — and exposes embeddings, gene expression, metadata, and marker/DE tables through both an interactive Streamlit viewer and a programmatic plotting API that produces publication-ready figures. It scales from a laptop toy dataset to million-cell atlases larger than RAM.
pip install scPyviewer # core
pip install 'scPyviewer[all]' # + viewer, clustering, xlsx export
Install, launch the viewer, and load your first dataset.
Every plot_* and table function with runnable examples.
figures4papers / nature presets and the journal colour palettes (NPG, AAAS, NEJM, Lancet, JAMA).
Full signatures and parameters, generated from the docstrings.
Explore million-cell atlases smoothly in low memory.
How to cite scPyviewer (bioRxiv + BibTeX + CITATION.cff).
Publication-quality figures#
Every figure below is one plot_* call under set_publication_style() (bold figures4papers-style default, colour-blind-safe Okabe-Ito palette; call set_publication_style("nature") for the compact journal look). See the tutorial for the code.
Palettes#
Match any target venue with one argument — set_publication_style(palette="npg")
(Nature), "aaas" (Science), "nejm", "lancet", "jama", or the
colour-blind-safe "okabe-ito" default.