cellannotation / cas-tools

Cell Annotation Schema Tools
1 stars 0 forks source link

Add support for confusion matrix generation for reviewing annotation transfer #78

Open dosumis opened 4 months ago

dosumis commented 4 months ago

Annotation transfer between two taxonomies/matrices on the single cell level is represented as an additional labelset. The cell ID lists in the labelset may include a confidence score for annotation transfer.

We should support simple visualizations of the overlap between the cell sets defined in an annotation transfer labelset and those defined in any other labelset in the taxonomy. These visualization should take the form of confusion matrices with options for Jaccard (with an option to filter input on confidence) and for weighted Jaccard (using confidence for weight). By default it will use cell_label as axis label, but have option to choose other headers.

This is inspired by Jeremy Miller's ACE tool:

image