mantispy.pl.outliers#
- mantispy.pl.outliers(adata, key='qc_outlier', groupby='Metadata_Plate', axes=None)#
Outlier score distribution, and the flagged fraction per
groupbygroup.- Parameters:
adata (
AnnData) – Objectoutliers()has run on.key (
str(default:'qc_outlier')) –obscolumn holding the flag, whose score is read fromkey + "_score".groupby (
str(default:'Metadata_Plate')) –obscolumn whose groups become the bars, e.g."Metadata_Well"on a single plate.axes (
ndarray|None(default:None)) – A pair of axes to draw into, orNonefor a new figure.
- Returns:
the score histogram split into kept and flagged, and the flagged fraction per group.
- Return type:
- Raises:
KeyError –
obshas nokeycolumn.