You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please excuse me opening another issue on this topic!
Following your vignette (https://github.com/immunogenomics/symphony/blob/main/vignettes/Seurat.ipynb) i managed to run the complete script without errors (I rerun the RunHarmony.Seurat on my existing (already before to umap processed) object and then followed the vignette).
However the resulting query UMAP looks like this:
Running the vignette works fine and i can also map my query data on your reference. So the problem appears to be during the reference construction. In the generation of my refobject I removed some confounding genes from the ScaleData and RunPCA step.
I noticed that in order for the script to run without errors I have to remove those also from the variable features in the refobject, but I kepp getting this very wird umap after mapquery. (The initial umap before reference building looks fine)
Do you have any idea what could cause this error?
Thanks a lot for your help!!! I realy appreciate it!
Best,
Niklas
The text was updated successfully, but these errors were encountered:
Thanks for your message! I'm not entirely sure what is causing this error - would you mind trying it again but removing the confounding genes prior to the variable gene selection part? Perhaps there is something buggy in the way you are manually removing them (though it's doubtful it would have such a large effect). Secondly, when you run FindNeighbors and RunUMAP2, are you sure that it's being run on the embedding = 'harmony' and not the PCA embedding?
Dear Symphony Team,
please excuse me opening another issue on this topic!
Following your vignette (https://github.com/immunogenomics/symphony/blob/main/vignettes/Seurat.ipynb) i managed to run the complete script without errors (I rerun the RunHarmony.Seurat on my existing (already before to umap processed) object and then followed the vignette).
However the resulting query UMAP looks like this:
Running the vignette works fine and i can also map my query data on your reference. So the problem appears to be during the reference construction. In the generation of my refobject I removed some confounding genes from the ScaleData and RunPCA step.
I noticed that in order for the script to run without errors I have to remove those also from the variable features in the refobject, but I kepp getting this very wird umap after mapquery. (The initial umap before reference building looks fine)
Do you have any idea what could cause this error?
Thanks a lot for your help!!! I realy appreciate it!
Best,
Niklas
The text was updated successfully, but these errors were encountered: