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

Why spatial_scatter plot the extremely wrong image? #932

Open
GODCALLMEGOD opened this issue Jan 7, 2025 · 1 comment
Open

Why spatial_scatter plot the extremely wrong image? #932

GODCALLMEGOD opened this issue Jan 7, 2025 · 1 comment
Labels
question ❓ Further information is requested

Comments

@GODCALLMEGOD
Copy link

Image
Image
import squidpy as sq sq.spatial_scatter(object, color = 'celltype')
dear beloved,
I check the coordinate and object.obs.celltype, it is the same as the seuratobject in R. But as you can see, squidpy's output has lots of gray spots, and the order of spot with other color is not in right place, too. Please tell me if you encounter such a problem, or you have the solutions.

@timtreis
Copy link
Member

timtreis commented Jan 9, 2025

Hey @GODCALLMEGOD, could you provide us with a reproducible example for your issue? There are several issues which could cause this, many of which in the data conversion step when you go from R to Python.

@timtreis timtreis added the question ❓ Further information is requested label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants