Tutorials

The easiest way to get familiar with pertpy is to follow along with our tutorials. Many are also designed to work seamlessly in Google colab.

Note

For questions about the usage of pertpy use the scverse discourse.

Quick start: Tool specific tutorials

Data transformation

Knowledge inference

Use cases

Our use cases showcase a variety of pertpy tools applied to one dataset. They are designed to give you a sense of how to use pertpy in a real-world scenario. The use cases featured here are those we present in the pertpy preprint.

Glossary

AnnData is short for Annotated Data and is the primary datastructure that pertpy uses. It is based on the principle of a single Numpy matrix X embraced by two Pandas Dataframes. All rows are called observations (in our case cells or similar) and the columns are known as variables (any feature such as e.g. genes or similar). For a more in depth introduction please read the AnnData paper.

For a more in depth introduction please read the Scanpy paper.