mantispy.pl.effect_sizes

Contents

mantispy.pl.effect_sizes#

mantispy.pl.effect_sizes(adata, group, key='effect', top=30, ax=None)#

The largest effects for one group, colored by feature family.

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

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

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

  • top (int (default: 30)) – How many features to draw, taken by absolute effect.

  • 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 group.