-
Notifications
You must be signed in to change notification settings - Fork 19
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
SAMap consistently generating a bifurcated UMAP #142
Comments
Usually you see this as an artifact of some batch effect or confounding biological process like cell cycle. Can you try differential expression between the bifurcated clusters to see what pops up? Also, if you look at each species' embedding separately (e.g. |
Thanks, I'll try that! |
Hi @atarashansky , I have a question about how SAMap reads the data. It seems like if there exists a file called 'XXX_pr.h5ad', then SAMap will use that file. Is there a way to turn off this behavior? I want it to always process the original XXX.h5ad file rather than use the preprocessed one. |
Actually, I was mistaken. The issue is that the filenames dictionary is a mutable so after a SAMap run, it will be a dictionary holding SAM objects rather than file paths. I had to deep copy it to stop this behavior. |
Hi @atarashansky , Is there a way to make a SAM object directly from an h5ad file, or would I have to save the h5ad file and then load it as a sam object? |
You can do |
Awesome, thanks! |
Hi @atarashansky ,
Do you know why SAMap would consistently generate UMAPs that look like this? Essentially, every cluster is being split in two. The different species are well integrated within those clusters. Any ideas what might be causing this and what hyperparameter i could tune to prevent this?
The text was updated successfully, but these errors were encountered: