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

Wrong conversion factor for CosMx #292

Open
AlbertoFabbri93 opened this issue Jan 13, 2025 · 0 comments
Open

Wrong conversion factor for CosMx #292

AlbertoFabbri93 opened this issue Jan 13, 2025 · 0 comments

Comments

@AlbertoFabbri93
Copy link

The CellChat document Frequently Asked Questions when analyzing spatially resolved transcriptomics datasets states:

For CosMx data, the spatial coordinates are in pixels and the conversion factor of converting spatial coordinates from Pixels to Micrometers is 0.18. Because CosMx does not include the uniform cell size like 10X Visium and Slide-seq, users can compute the minimum cell centroid-to-centroid distance via computeCellDistance and use its half value as the tolerance factor. Of note, CellChat does not need an accurate tolerance factor, which is used for determining whether considering the cell-pair as spatially proximal if their distance is greater than interaction.range but smaller than “interaction.range + tol”.

But on the NanoString blogpost Comparing AtoMx™ SIP flat files with the legacy format they state:

The pixel edge length is 120 nm. Thus, to convert to microns multiply the pixel value by 0.12028 µm per pixel.

And, according to my tests, this is the only factor that gives distances that make sense. Can you please update your documentation?

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

1 participant