scanpyEasy Examples

Single-cell RNA-seq analysis: preprocessing, clustering, visualization

Getting started with scanpy

Installation and basic usage of scanpy.

python
# Install: pip install scanpy
import scanpy

# Basic scanpy usage
print(f"Using scanpy")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: scanpy)

scanpy is a third-party package. Single-cell RNA-seq analysis: preprocessing, clustering, visualization. Install with: pip install scanpy

Common scanpy operations

Frequently used features of scanpy.

python
# Install: pip install scanpy
import scanpy

# Common scanpy patterns
print(f"scanpy version: {scanpy.__version__}")

These are the most commonly used features of scanpy in everyday development.

Want to try these examples interactively?

Open Easy Playground