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

Overlaying H&E stained images with CosMx data #217

Open
gohantsubu opened this issue Oct 14, 2024 · 4 comments
Open

Overlaying H&E stained images with CosMx data #217

gohantsubu opened this issue Oct 14, 2024 · 4 comments

Comments

@gohantsubu
Copy link

Hello,

Thank you for developing such an effective tool. I am a researcher just starting spatial transcriptomics analysis with CosMx. I have successfully uploaded my CosMx h5ad data into Cirrocumulus, which has been very helpful. I would now like to overlay this data with H&E-stained images. Could you please guide me through the steps to achieve this?

Best regards,
Hirotaka Inoue

@joshua-gould
Copy link
Contributor

You need to rename your H&E image to correspond to the naming that cirrocumulus expects. The --spatial argument currently takes "Directory containing 10x visium spatial data (tissue_hires_image.png, scalefactors_json.json, and tissue_positions_list.csv) or a directory containing image.png, positions.image.csv with headers barcode, x, and y, and optionally diameter.image.txt containing spot diameter"

@gohantsubu
Copy link
Author

Thank you for your reply. I will start by modifying our H&E data as suggested.

@gohantsubu
Copy link
Author

gohantsubu commented Oct 24, 2024

Thank you for your reply. I tried the solution you suggested with a single FOV. I uploaded the HE image as image.png and the X, Y coordinate data as positions.image.csv. This created an "image" tab under the embeddings section, so the upload seemed to be successful. However, as shown in the snapshot, all the plots are clustered in the top-left corner. I suspect this is because the coordinate scale is incorrect. Could you please advise on how to resolve this?

Best regards,
Hirotaka Inoue
image

@gohantsubu
Copy link
Author

Thank you for all your help.
We are sorry to bother you, but we are looking forward to your reply to our question.

Best regards,
Hirotaka Inoue

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