mantispy.pl.outliers#
- mantispy.pl.outliers(adata, key='qc_outlier', groupby='Metadata_Plate', axes=None)[source]#
Outlier score distribution, and the flagged fraction per
groupbygroup.- Parameters:
- adata
AnnData Object
outliers()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, or
Nonefor a new figure.
- adata
- Return type:
- Returns:
The two axes when the caller passed
axes, elseNonebecause the plot then owns the figure it created. When returned they are the score histogram split into kept and flagged, and the flagged fraction per group.- Raises:
KeyError –
obshas nokeycolumn.