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.

Identify PBMC populations with scRNA-seq

Single-cell RNA sequencing measures RNA counts in individual cells, describing each cell through the genes it expresses. Peripheral blood mononuclear cells (PBMCs) contain several immune populations, including T cells, B cells, monocytes, NK cells, and rarer dendritic cells. Their expression profiles help us distinguish these populations and later investigate how their states differ across conditions.

A cluster number tells us which cells have similar RNA profiles. To give a cluster a biological name, we need marker-gene evidence rather than just a group of similar cells. Here we will inspect a prepared blood-cell analysis, compare a small marker panel, and assign broad cell types.

Start with the quick start if you want to run the standard pipeline on your own counts. This page uses saved results so we can concentrate on interpreting them.

Open the analysis and look at the clusters

DataStore has 3948 (5025) cells with 1 assays: RNA Cell metadata: 'I', 'ids', 'names', 'RNA_G2M_score', 'RNA_S_score', 'RNA_UMAP1', 'RNA_UMAP2', 'RNA_cell_cycle_phase', 'RNA_clusters', 'RNA_doublet_score', 'RNA_leiden_cluster', 'RNA_nCounts', 'RNA_nFeatures', 'RNA_paris_cluster', 'RNA_percentMito', 'RNA_percentRibo' RNA assay has 33538 features and following metadata: 'I', 'ids', 'names', 'dropOuts', 'feature_type', 'genome', 'nCells'

Started: 2026-10-11T18:54:54.242534Z | Wall time: 9.366 s

The prepared run contains the selected cells, clusters, and UMAP coordinates. Rank markers for its clusters with ds.markers.search(run["clusters"], features=run["feature_universe"]), as Annotate cell types and states does. Its name is docs_default, but it used dataset-specific filtering, 500 variable genes, and 15 PCs. Those settings preserve the example we will interpret; they are not the current pipeline defaults.

Prepared PBMC UMAP coloured by ten numbered clusters, showing large populations and smaller groups before biological annotation.

Started: 2026-10-11T18:55:03.611092Z | Wall time: 1.503 s

The UMAP places the clusters in two dimensions so we can inspect the main groups and smaller populations. Nearby cells have similar profiles in this view, but the size of a gap between clusters does not establish how different their cell types are. We will use marker expression to investigate their identities next.

Compare markers before naming the groups

With the clusters in view, we can compare several marker genes for each broad lineage. Using a panel helps us look for consistent evidence across genes rather than assigning a name from one signal. In a dot plot, a larger dot means a larger fraction of cells express the gene in that cluster; its colour shows the mean expression in the cluster.

Dot plot of eleven lineage markers across ten PBMC clusters. Colour encodes mean expression and dot size encodes detection fraction for monocyte, B-cell, T-cell, NK-cell, and pDC-like marker panels.

Started: 2026-10-11T18:55:05.115987Z | Wall time: 1.179 s

MS4A1 and CD79A support B-cell identities; CD3D and IL7R support T cells. NKG7 and GNLY help identify cytotoxic populations, so compare them with the T-cell markers before calling a group NK cells. LST1, S100A8, and FCGR3A help distinguish the monocyte populations.

GZMB together with JCHAIN suggests a small pDC-like population. This is a provisional label: the Annotate cell types and states tutorial examines IL3RA, other marker evidence, and competing interpretations before refining the labels.

For a gene with much lower expression than the others, it can help to scale each gene separately. The next plot changes only the colour scale: values are now relative within each gene, so colours cannot be used to compare absolute expression between different genes.

The same PBMC marker dot plot with mean expression standardized within each gene, making relative cluster enrichment visible without comparing expression magnitudes between genes.

Started: 2026-10-11T18:55:06.296847Z | Wall time: 1.093 s

Give the clusters broad names

Read the dot plots by cluster before assigning names: B-cell markers support clusters 2 and 8, T-cell markers support 3, 4, 6, and 7, and the monocyte markers support 1 and 9. Cluster 5 has the NK-like cytotoxic pattern. We retain a provisional pDC-like label for cluster 10.

Several clusters share a label because they belong to the same lineage. These cluster numbers belong to this saved result. Even a new analysis of the same counts can number its clusters differently, so check the marker evidence again before reusing this mapping.

{'1': 'CD14 monocytes', '2': 'B cells', '3': 'T cells', '4': 'T cells', '5': 'NK cells', '6': 'T cells', '7': 'T cells', '8': 'B cells', '9': 'monocytes', '10': 'pDC-like cells'}

Started: 2026-10-11T18:55:07.392634Z | Wall time: 0.006 s

Save the names in the cell table. The run contains only the analyzed cells, while the cell table contains every cell, so fill the other rows with an explicit label before inserting the column.

{'B cells': 495, 'CD14 monocytes': 716, 'NK cells': 318, 'T cells': 2379, 'monocytes': 25, 'pDC-like cells': 15}

Started: 2026-10-11T18:55:07.400825Z | Wall time: 0.064 s

This writes our labels to pbmc_cell_type; rerunning the cell replaces that column. The saved clusters remain available. Use their UMAP to display the new names:

PBMC UMAP coloured by assigned broad cell types: B cells, CD14 monocytes, other monocytes, NK cells, provisional pDC-like cells, and T cells.

Started: 2026-10-11T18:55:07.467382Z | Wall time: 0.427 s

Build on this analysis

Continue with Annotate cell types and states to distinguish finer cell types and states using supporting and negative markers. Before interpreting your own data, review Quality control across assays and check that the retained cells make sense for your study.

When the first result raises a specific question, use Feature selection: choosing informative features, Choosing dimensionality reductions, or Clustering and cluster evidence to compare one choice at a time. Build a neighborhood graph stage by stage explains the individual computation steps, and Reuse results and compare analysis settings shows how to reopen and compare saved analyses.

Marker tests here compare cells, not biological replicates. For differences between conditions, use a suitable study design and the Pseudobulk and differential expression (DE) primer or Compare biological conditions across donors guide.