mantispy.pl.replicate_correlation#
- mantispy.pl.replicate_correlation(adata, key='percent_replicating', ax=None)[source]#
Observed replicate correlation against each group’s permutation threshold.
Points above the diagonal replicate; the distance from it is the margin.
- Parameters:
adata (
AnnData) – Object holding the tablepercent_replicating()wrote.key (
str(default:'percent_replicating')) – Name of that table inuns["mantispy"].ax (
Axes|None(default:None)) – Axes to draw on, orNonefor a new figure.
- Return type:
- Returns:
The axes when the caller passed
ax, elseNonebecause the plot then owns the figure it created. When returned they hold the groups that replicate colored apart from those that do not and the diagonal drawn as a reference line.- Raises:
KeyError –
uns["mantispy"]holds no table underkey.