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

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.