mantispy.pl.cytotoxicity

Contents

mantispy.pl.cytotoxicity#

mantispy.pl.cytotoxicity(adata, key='cytotoxicity', label_top=8, ax=None)#

Distance from the controls against viability, with the suspect groups marked.

Groups in the upper left are far from the controls and have lost most of their cells. The dashed line is the minimum viability the run used.

Parameters:
  • adata (AnnData) – Object holding the table cytotoxicity() wrote.

  • key (str (default: 'cytotoxicity')) – Name of that table in uns["mantispy"].

  • label_top (int (default: 8)) – How many of the most distant suspect groups to label.

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

Return type:

Axes

Returns:

The axes drawn on.

Raises:

KeyErroruns["mantispy"] holds no table under key.