mantispy.pl.effect_sizes#
- mantispy.pl.effect_sizes(adata, group, key='effect', top=30, ax=None)[source]#
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
Nonefor a new figure.
- adata
- Return type:
- Returns:
The axes when the caller passed
ax, elseNonebecause the plot then owns the figure it created.- Raises:
KeyError – There is no such table, or it holds no such group.