mapqc.pl.umap.mapqc_scores

Contents

mapqc.pl.umap.mapqc_scores#

mapqc.pl.umap.mapqc_scores(adata, vmin=-4, vmax=4, figsize=(6, 5), return_fig=False, umap_kwargs=None)#

UMAP colored by MapQC scores, split by case/control status.

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

  • vmin (float, optional) – Minimum value for the colorbar. Default is -4.

  • vmax (float, optional) – Maximum value for the colorbar. Default is 4.

  • figsize (tuple[float, float], optional) – Figure size per panel. 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.