scPyviewer: a Python-native interactive viewer from AnnData single-cell data

Hao Xuan, Yu Huang, Jiang Bian, Xiangtao Liu
9/10/2026
q-bio.GNcs.AI

Official code: xuan13hao/scPyviewer (3 stars, MIT, last commit 2026-09-18).

Abstract

Motivation: Interactive web tools enabling non-programmers to explore single-cell datasets, embeddings, gene expression, metadata, and marker genes are standard laboratory infrastructure. However, actively maintained tools (e.g., ShinyCell, ScRDAVis, sCIRCLE) rely on R Shiny and require Seurat objects.

Show full abstract

Python/scanpy, the dominant framework for single-cell RNA-seq and spatial analysis, lacks a lightweight, native option pairing a shareable viewer with a scriptable Python API. Sharing scanpy results currently requires converting to Seurat or sharing code notebooks. Results: We present scPyviewer, a web viewer that ingests AnnData objects directly and reproduces incumbent interaction patterns within the Python stack. In a feature-parity audit against three R Shiny tools, scPyviewer matches or exceeds baseline capabilities (7/7), uniquely offering native AnnData ingestion without conversion and cross-dataset comparison over shared genes and matched cell types. Benchmark tests across three datasets (22,315 to ~313,000 cells) show scPyviewer renders every core view faster (up to 3.6x speedup) using lower memory (5.2x lower on the smallest dataset). On 313,000 cells, scPyviewer completes all views while Seurat exhausts an 8 GB memory limit and fails. Beyond the app, scPyviewer exposes a Python API returning Matplotlib figures and pandas tables for publication-ready output. Availability and implementation: Implemented in Python 3.11 (scanpy 1.11.5, anndata 0.12.19, streamlit 1.59.2, plotly 6.9.0) with a one-command interface to reproduce benchmarks, figures, and launch the app. Source code: https://github.com/xuan13hao/scPyviewer.git

View on arXivView PDF

Code Implementations(1)

MIT

scPyviewer — a Python-native interactive viewer and Python API for single-cell data

30Jul 21, 20262 months agoMIT
anndatapythonshinycellsingle-cellsinglecell-data-analysis+3 more

Similar Papers

Cite this paper

@article{xuan2026scpyviewer,
  title  = {scPyviewer: a Python-native interactive viewer from AnnData single-cell data},
  author = {Hao Xuan and Yu Huang and Jiang Bian and Xiangtao Liu},
  year   = {2026},
  eprint = {2610.35890},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.35890v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.35890.svg)](https://codeofpaper.com/paper/2610.35890)

Discussion