GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Installation
  • Quickstart
  • Tutorials
  • Preprocessing and clustering
  • Integrating data using ingest and BBKNN
  • Core plotting functions
  • Customizing Scanpy plots
  • Trajectory inference for hematopoiesis in mouse
  • Using dask with Scanpy
  • How to
  • Cell-Cycle Scoring and Regression
  • Using other kNN libraries in Scanpy
  • Plotting with Marsilea
  • API

This view

  • Original page
  • New address

GeezerVison is showing scanpy.scverse.org — API

  • GitHub
  • Discourse
  • scverse.org
  • Core
  • AnnData
  • decoupler
  • MuData
  • Muon
  • Pertpy
  • rapids-singlecell
  • Scanpy
  • Scirpy
  • scvi-tools
  • SnapATAC2
  • SpatialData
  • Squidpy
  • Ecosystem
  • AESTETIK
  • AlphaPeptTools
  • AmbiDose
  • annbatch
  • anndata for R
  • anndataR
  • annsel
  • AnnZarro
  • ATLAS
  • benGRN
  • bento-tools
  • biolord
  • cell2location
  • Cell_BLAST
  • CellAnnotator
  • CellCharter
  • CellMapper
  • CellOracle
  • CellphoneDB
  • CellRank
  • cellxgene
  • Cirrocumulus
  • clone2vec
  • cuspa
  • dandelion
  • delnx
  • DOTools_py
  • DoubletDetection
  • DRVI
  • dvp-io
  • dynamo-release
  • epiScanpy
  • eschr
  • fava
  • flashdeconv
  • flowsom
  • GATAC
  • GPTBioInsightor
  • grassp
  • GRnnData
  • gssnng
  • harpy
  • hotspot
  • illico
  • infercnvpy
  • kompot
  • LazySlide
  • liana
  • mantispy
  • Marsilea
  • maxspin
  • moscot
  • Mowgli
  • Multivelo
  • ncountr
  • NicheNetPy
  • nichepca
  • novae
  • omicverse
  • Palantir
  • Panpipes
  • ParTIpy
  • PathML
  • pcdl
  • PEAKQC
  • pegasus
  • PILOT
  • popV
  • pycea
  • pychromVAR
  • pyCrossTalkeR
  • PyDESeq2
  • pyLemur
  • pySCENIC
  • pytximport
  • pyUCell
  • Rectangle
  • SC2Spa
  • SCALEX
  • scanpro
  • scATrans
  • scCellFie
  • scDataLoader
  • scFair
  • scFates
  • scGen
  • schist
  • scib
  • scib-metrics
  • scib-rapids
  • scmcp
  • scPRINT
  • scPRINT-2
  • scTriangulate
  • scVelo
  • scviva-tools
  • scxmatch
  • scXpand
  • scyan
  • sift-sc
  • sincei
  • Sobolev Alignment
  • sopa
  • spatial-eggplant
  • spatialdataR
  • spatialproteomics
  • spatiomic
  • STMiner
  • Symphonypy
  • tangram
  • TAU Community Detection
  • TreeData
  • vitessce
  • wsidata
  • zellkonverter

API#

Import Scanpy as:

import scanpy as sc

Note

Additional functionality is available across the broader scverse ecosystem, with some tools wrapped in the scanpy.external module.

Array type support#

Different APIs have different levels of support for array types, and this page lists the supported array types for each function (⚡ indicates support of the type as chunk in a dask Array):

Function

ndarray

csr_array / csr_matrix

csc_array / csc_matrix

Array API

scanpy.experimental.pp.highly_variable_genes()

✅

✅

✅

❌

scanpy.get.aggregate()

✅ ⚡

✅ ⚡

✅ ⚡

❌

scanpy.pp.bbknn()

✅

✅

✅

✅

scanpy.pp.calculate_qc_metrics()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.combat()

✅

❌

❌

❌

scanpy.pp.downsample_counts()

✅

✅

❌

❌

scanpy.pp.filter_cells()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.filter_genes()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.harmony_integrate()

✅

❌

❌

❌

scanpy.pp.hashsolo()

✅

✅

✅

❌

scanpy.pp.highly_variable_genes()

✅ ⚡

✅ ⚡

✅

✅[*]

scanpy.pp.log1p()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.neighbors()

✅

✅

✅

✅

scanpy.pp.normalize_shifted_clr()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.normalize_total()

✅ ⚡

✅ ⚡

❌

✅

scanpy.pp.pca()

✅ ⚡

✅ ⚡

✅

✅

scanpy.pp.regress_out()

✅

❌

❌

❌

scanpy.pp.sample()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.scale()

✅ ⚡

✅ ⚡

✅ ⚡

✅

scanpy.pp.scrublet()

✅

✅

✅

❌

scanpy.pp.scrublet_simulate_doublets()

✅

✅

✅

❌

scanpy.tl.dendrogram()

✅

✅

✅

❌

scanpy.tl.diffmap()

✅

✅

✅

❌

scanpy.tl.dpt()

✅

✅

✅

❌

scanpy.tl.draw_graph()

✅

✅

✅

❌

scanpy.tl.embedding_density()

✅

❌

❌

❌

scanpy.tl.ingest()

✅

✅

✅

❌

scanpy.tl.leiden()

✅

✅

✅

❌

scanpy.tl.louvain()

✅

✅

✅

❌

scanpy.tl.paga()

✅

✅

✅

❌

scanpy.tl.rank_genes_groups()

✅

✅

✅

✅

scanpy.tl.score_genes()

✅

✅

✅

✅

scanpy.tl.tsne()

✅

✅

✅

❌

scanpy.tl.umap()

✅

✅

✅

❌

[*]

Except for flavor='seurat_v3' with a batch_key.

On this page
Edit on GitHub
Show Source
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.