-
Notifications
You must be signed in to change notification settings - Fork 81
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
NaN value when importing Visium dataset #797
Comments
can you check whether you have nan in |
Maybe a noob question, but how?
and got But not sure it is the right method |
if |
|
unfortunately I don't know, an option is also to just filter out cells that are like that, and also check in original raw data where that issue might arise. |
After some testing, it is the |
This can be because of this line: https://github.com/scverse/squidpy/blob/main/src/squidpy/read/_read.py#L94 |
No, I have the same number of observations/cells and variables/genes in both objects. |
I also met this error, even if I use the latest squidpy (1.5.0) and I finally find the reason. |
yes this I think it's due to the different specifications. Unfortuantely we only maintain readers in spatialdata-io so I would suggest to take a look at that. https://spatialdata.scverse.org/projects/io/en/latest/index.html |
Hi,
I am trying to import a dataset from 10X Visium H&E
I am importing the dataset with:
Then pre-processing:
Then to calculate the image_features, I create my ImageContainer (not clear to me if I can do it before filtering or not).
No problem until that point (except a lot of warnings about deprecated parameter in pandas)
I then do:
but get this error:
Traceback
If trying to do neighborhood enrichment with
sq.gr.spatial_neighbors(adata)
I got this
ValueError: Input X contains NaN.
Version
squidpy==1.4.1
The text was updated successfully, but these errors were encountered: