mantispy.pl.image_qc

Contents

mantispy.pl.image_qc#

mantispy.pl.image_qc(adata, ax=None)[source]#

Image quality score per image, with the flagged images marked.

Parameters:
  • adata (AnnData) – Object image_qc() has run on.

  • ax (Axes | None (default: None)) – Axes to draw on, or None for a new figure.

Return type:

Axes | None

Returns:

The axes when the caller passed ax, else None because the plot then owns the figure it created. When returned they hold one point per image in the order of the table, the flagged images drawn larger and in crimson.

Raises:

KeyError – uns["mantispy"] holds no image_qc table.