mantispy.pl.dose_direction

Contents

mantispy.pl.dose_direction#

mantispy.pl.dose_direction(adata, compound, key='dose_direction', ax=None)#

One compound’s ladder, with the background banded by what each concentration is doing.

The solid line is how far the profile sits from the controls, and the dashed line is how far it moved from the concentration below it. The second is what says where the action is: a response that is still changing has a large step, one that has arrived has a small one however high the solid line sits. The two dotted horizontals are the floors those lines are read against, which control wells laid out the same way reach.

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

  • compound (str) – Which compound of that table to draw.

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

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

Return type:

Axes

Returns:

The axes drawn on.

Raises:

KeyError – There is no such table, or it holds no such compound.