mantispy.pl.cell_counts#
- mantispy.pl.cell_counts(adata, groupby='Metadata_Plate', ax=None, count_key='Metadata_CellCount')#
Distribution of cells per well, split by
groupby.- Parameters:
adata (
AnnData) – Cells, which are counted per well, or profiles, whosecount_keyis drawn.groupby (
str(default:'Metadata_Plate')) –obscolumn whose groups become the boxes.ax (
Axes|None(default:None)) – Axes to draw on, orNonefor a new figure.count_key (
str(default:'Metadata_CellCount')) –obscolumn holding the cell count of profiles.
- Return type:
- Returns:
The axes drawn on.
- Raises:
KeyError – Profiles carry no
count_key.