dviraran / SingleR

SingleR: Single-cell RNA-seq cell types Recognition (legacy version)
GNU General Public License v3.0
274 stars 98 forks source link

Questions about confidence score #154

Open Kevis9 opened 1 year ago

Kevis9 commented 1 year ago

Hi, thanks for the insightful work! Now I am using SingleR to annotate query data based on reference data. I wonder how to get the confidence score of the predicted cell type.

Following is my core code:

pred <- SingleR(test = query_data, ref = ref_data, labels = ref_label)
pred <- pred$labels
return (pred)