mantispy.pl.nan_matrix#
- mantispy.pl.nan_matrix(adata, max_features=200, ax=None, group_label=None, labels=None)[source]#
Fraction of missing values per feature, per plate.
- Parameters:
- adata
AnnData Object to measure the missing values of.
- max_features
int(default:200) How many features to draw, taken in
var_namesorder.- ax
Axes|None(default:None) Axes to draw on, or
Nonefor a new figure.- group_label
str|None(default:None) Title for the plate axis, or
Noneto leave it untitled.- labels
Mapping[Any,str] |None(default:None) Display names for plates, keyed by value; plates left out keep their own name.
- adata
- Return type:
- Returns:
The axes when the caller passed
ax, elseNonebecause the plot then owns the figure it created.