Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azimuth prediction and mapping scores - obtaining scores for all possible cell types #174

Open
HarrietRB opened this issue Oct 4, 2023 · 2 comments

Comments

@HarrietRB
Copy link

Hello! I was wondering whether you can help.

I have been annotating my data and have obtained the predicted cell type, prediction score and mapping score for each of my cells. There are a total of 19 cell types present in my reference dataset.

All of my cells have received very high mapping scores, but there are many (~50%) that have low prediction scores <0.5, suggesting in these cells my probabilities are split between two clusters. I am curious to see what the probabilities of the other 18 cells are for each of my cells, as currently I only have the prediction and mapping scores for the highest predicted cell type.

I wondered if it is possible to obtain the mapping and prediction score of the other 18 cell types for all of my cells also? Thanks for the help!

@andynkili
Copy link

andynkili commented Apr 4, 2024

Dear developers,

I also have the same issue where some cells have low score and it would help to compare the scores for all cell types from the reference, in order to have a broader picture of the annotation and understand those predicted low scores (some cell types from the reference being too similar?).

Best,
Andy

@andynkili
Copy link

andynkili commented Apr 30, 2024

@HarrietRB,

It is not obvious from the documentation but after a fair bit of googling, I got the scores from SeuratObject@assays$prediction.score.refMetadataUsedForAnnotation$data.
The [refMetadataUsedForAnnotation] is the name of metadata column from the reference that you have used for annotation.
Hope it helps.

Best,
Andy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants