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)
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: