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

Quite low accuracy using index cluster #38

Open
Kevis9 opened this issue Sep 3, 2022 · 2 comments
Open

Quite low accuracy using index cluster #38

Kevis9 opened this issue Sep 3, 2022 · 2 comments

Comments

@Kevis9
Copy link

Kevis9 commented Sep 3, 2022

Hi, I am trying to use scmap to predict unlabeled datasets (let's call query) based on reference dataset. I use scmap index cluster followed by this vignette. The prediction accuracy is quite low, about only 0.007. However accuracy produced by scmapCellindex is quite high, about 0.91. I checked other papers which also used scmap to predict labels, it seems like indexCluster function work well at their experiment. I don't know whether there is any mistake in my code.

I checked prediction results, there lots of "unassigned" label in it. Can you give an example of how to use scmap index cluster to do prediction work based on reference datasets projecting to query dataset ?

@mhemberg
Copy link

mhemberg commented Sep 4, 2022

Not sure if you have already tried this, but the best way of getting rid of "unassigned" labels is to lower the "threshold" parameter (which exists for both versions of scmap). Not really sure why one method does not run into this problem, but I would suggest gradually lowering it from the default of 0.7.

Hope this helps.

@Kevis9
Copy link
Author

Kevis9 commented Sep 5, 2022

Thank you. That's very helpful.

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