Calculate clusters and cell types similarity based on the markers.
calculate_celltype_prob(clt_marker_list, marker_database_list, type = "jacc")A list of markers for all cluster.
A list of markers of all reference cell types.
A parameter to select the method to measure cluster and cell type similarity
jacc - Jaccard index.
ac - Accuracy.
f1 - F1 score.
.
A confusion matrix between clusters and cell types. Each cell represents a probabilty of a cluster belongs to a cell type.