Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CyteType

CyteType annotates the clusters of single-cell RNA-seq data. You provide the clusters and marker genes you have computed, from Python with Scanpy and AnnData or from R with Seurat, and CyteType returns for each cluster a cell type label, a Cell Ontology term, a cell state and a confidence rating from an independent review step. The annotation runs on CyteType’s servers, and an interactive report shows the evidence behind every label.

A first run

Install the client, sign in once, then annotate a clustered dataset. Using CyteType requires an API key: cytetype setup or SetupCyteTypeR() signs you in with your browser and saves your key on this computer.

Python
R
pip install cytetype
cytetype setup
import scanpy as sc
from cytetype import CyteType

# adata holds log-normalized expression and Leiden clusters in adata.obs["leiden"].
sc.tl.rank_genes_groups(adata, groupby="leiden", key_added="rank_genes_leiden")

annotator = CyteType(adata, group_key="leiden", rank_key="rank_genes_leiden")
adata = annotator.run(
    study_context="Peripheral blood mononuclear cells from a healthy human donor."
)

The link to the report is printed as soon as the job starts. The Python quickstart and the R quickstart walk through a complete example.

Where to go next

Source code and issues

The Python client is developed in NygenAnalytics/CyteType and the R package in NygenAnalytics/CyteTypeR. Report problems in the CyteType issues or the CyteTypeR issues. The documentation index for LLMs lists every page in plain text for assistants that read this site.