mapqc.pl.umap.neighborhood_center_cell

mapqc.pl.umap.neighborhood_center_cell#

mapqc.pl.umap.neighborhood_center_cell(adata, center_cell, figsize=(6, 5), return_fig=False, umap_kwargs=None, dotsize=1)#

UMAP highlighting a single neighborhood center cell.

Parameters:
  • adata (anndata.AnnData) – Anndata object. Both mapqc.run_mapqc() and mapqc.evaluate() should have been run on the adata object, as well as sc.tl.umap().

  • center_cell (str) – Center cell to plot.

  • figsize (tuple[float, float], optional) – Figure size. Default is (6, 5).

  • return_fig (bool, optional) – Return the figure object. Default is False.

  • umap_kwargs (dict, optional) – Keyword arguments for scanpy’s UMAP plotting.

  • dotsize (float, optional) – Dot size. Default is 1.