What problem does it solve?
Scanpy provides an end-to-end workflow for turning raw single-cell RNA-seq data into interpretable biology through standardized QC, preprocessing, embeddings, clustering, markers, and visualizations.
Core Features & Use Cases
- Quality control (QC): compute QC metrics, filter poor-quality cells/genes, and visualize mitochondrial content to improve dataset reliability.
- Normalization, feature selection, and preprocessing: normalize counts, log-transform, identify highly variable genes, optionally regress out confounders, and scale for downstream analysis.
- Dimensionality reduction, clustering, and differential expression: build neighborhood graphs, compute PCA/UMAP/t-SNE, run Leiden clustering, and rank marker genes with statistical tests.
- Annotation and visualization: map clusters to cell types using marker genes and generate publication-ready plots for embeddings, QC, markers, and trajectories.
- Trajectory inference and scoring: apply PAGA and pseudotime (DPT) plus gene set scoring for deeper biological interpretation.
Quick Start
Run the provided QC script on your input file named data/raw_counts.h5ad to generate a filtered dataset you can continue analyzing in Scanpy.