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

Symphony crashes during mapQuery due to genes stored as factor in atlas #33

Open
schmeing opened this issue Jun 23, 2022 · 0 comments
Open

Comments

@schmeing
Copy link

I ran mapQuery and got the following error:

Error in exp_query[shared_genes, ] : subscript out of bounds

I manually repeated the steps from the function and noticed that up to line 41 it was performing correctly and also identified shared_genes correctly. However, when I ran the exp_query[shared_genes, ] part it reproduced the crash and if I restricted it to a subset of the genes it gave the wrong ones instead of crashing. exp_query[as.character(shared_genes), ] on the other hand worked as expected and did not crash. After converting the gene names (ref_liver$vargenes$symbol) in the fetal liver hematopoeisis atlas from factor into character also the mapQuery function worked.

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

1 participant