do umap

Perform a UMAP to visualise clusters.

Parameters

color: str Obs key to use as a color.


Web view

do_umap_screenshot

Python equivalent

import scanpy as sc

sc.pp.neighbors(adata, random_state=42)
sc.tl.umap(adata, random_state=42)
sc.pl.umap(adata, color="leiden")