mantispy.pl.moa_confusion

Contents

mantispy.pl.moa_confusion#

mantispy.pl.moa_confusion(adata, key='moa', normalize=True, ax=None)[source]#

The confusion matrix of nn_moa_classify(), as a heatmap.

With row normalization the diagonal is per-mechanism recall, and an off-diagonal block marks a pair of mechanisms the morphology does not separate. Such pairs usually have similar phenotypes.