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

question about creating a CosMx object #298

Open
CenFWNW opened this issue Dec 10, 2024 · 1 comment
Open

question about creating a CosMx object #298

CenFWNW opened this issue Dec 10, 2024 · 1 comment

Comments

@CenFWNW
Copy link

CenFWNW commented Dec 10, 2024

Hi I have been trying to create a CosMx object using the spateo.io.nanostring.read_nanostring function. I firstly encountered an error
image
I fixed it by rounding the coordinates to integers.
I then encountered the following error:
image
Not sure if this error raised by the argument label_columns, buy my cell names are strings in the format c_1_1_1. Also do you have a good guideline of how to use spateo on CosMx data?

Thank you so much!

@dzhu8
Copy link
Contributor

dzhu8 commented Dec 27, 2024

Hi,

Sorry for the delayed response and thank you for using the package! I suspect the coordinates being passed to CV2 may not be tuples. If this is still an issue, would you mind showing the formatting of the spatial coordinates in your AnnData object?

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

2 participants