Skip to content

Tutorials

An end-to-end notebook that takes you from raw single-cell data to a validated drug target and its causal mechanism, using the hosted TwinCell API. It follows the core arc — prepare data, build control vs. perturbed pseudo-bulk profiles, run PyDESeq2 for significant DEGs, then call TwinCell for target validation and the mechanism-of-action graph.

Credentials & network access

The data-preparation steps run fully locally. The TwinCell calls at the end require an API key and network access to your DeepLife environment — see the Quick Start for setup.

  • Target validation: Deucravacitinib in psoriasis


    Psoriatic vs. healthy skin single-cell data, focused on dendritic cells. Build pseudo-bulk profiles for psoriasis vs normal, derive the disease signature with PyDESeq2, then use TwinCell to test whether Deucravacitinib's target (TYK2) causally explains it.

    Open the tutorial

    Download notebook

For the API surface used throughout, see the API Reference.