mantispy.pl.replicate_saturation#

mantispy.pl.replicate_saturation(adata, key='replicate_saturation', ax=None)[source]#

The saturation curve with its spread across draws.

A curve still rising at the right edge means the screen is under-replicated, which informs the design of the next experiment.

Parameters:
adata AnnData

Object holding the table replicate_saturation() wrote.

key str (default: 'replicate_saturation')

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 | None

Returns:

The axes when the caller passed ax, else None because the plot then owns the figure it created.

Raises:

KeyError – uns["mantispy"] holds no table under key.