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_names order.

ax Axes | None (default: None)

Axes to draw on, or None for a new figure.

group_label str | None (default: None)

Title for the plate axis, or None to leave it untitled.

labels Mapping[Any, str] | None (default: None)

Display names for plates, keyed by value; plates left out keep their own name.

Return type:

Axes | None

Returns:

The axes when the caller passed ax, else None because the plot then owns the figure it created.