mantispy.pl.replicate_correlation

mantispy.pl.replicate_correlation#

mantispy.pl.replicate_correlation(adata, key='percent_replicating', ax=None)#

Observed replicate correlation against each group’s permutation threshold.

Points above the diagonal replicate; the distance from it is the margin.

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

  • key (str (default: 'percent_replicating')) – 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, with the groups that replicate colored apart from those that do not and the diagonal drawn as a reference line.

Raises:

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