mantispy.pl.plate#
- mantispy.pl.plate(adata, color, plate=None, agg='median', ax=None, cmap='viridis', **kwargs)[source]#
Well-grid heatmap of
color, one panel per plate.- Parameters:
adata (
AnnData) – Object to draw. Works at cell or well resolution; several rows landing in the same well are combined withagg.color (
str) – A feature name or anobscolumn.plate (
str|None(default:None)) – Draw only this plate. By default every plate gets a panel.agg (
str(default:'median')) – How to combine rows sharing a well: median, mean, max or min.ax (
Axes|None(default:None)) – Axes to draw into. Only valid together withplate.cmap (
str(default:'viridis')) – Matplotlib colormap.kwargs – Passed to
imshow().
- Returns:
A single
Axes, or an array of them for several plates.