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

Inconsistent cell number in the json file and cell stats file #41

Closed
zhanglab2008 opened this issue Apr 8, 2022 · 5 comments
Closed

Comments

@zhanglab2008
Copy link

Hi @VPetukhov
I wonder how to plot the cells (in polygon shapes) in the 2D tissue dimension after I finished clustering and cell type annotation. I saw that the zoom-in figure you showed in your Nature Biotech paper (figure3) is really amazing. I want to do the same with my own dataset.
I have successfully read the json file and make the plot but the cell number in the json file is inconsistent with that in the cell_stats file. Appreciated if you can help or give comments...
THanks!

@rocketeer1998
Copy link

Hi @VPetukhov I wonder how to plot the cells (in polygon shapes) in the 2D tissue dimension after I finished clustering and cell type annotation. I saw that the zoom-in figure you showed in your Nature Biotech paper (figure3) is really amazing. I want to do the same with my own dataset. I have successfully read the json file and make the plot but the cell number in the json file is inconsistent with that in the cell_stats file. Appreciated if you can help or give comments... THanks!

Hi @zhanglab2008 , could you give me some recommendations about plotting the GeoJson file, which is produced by save-polygons=geojson?

@zhanglab2008
Copy link
Author

Hi @VPetukhov I wonder how to plot the cells (in polygon shapes) in the 2D tissue dimension after I finished clustering and cell type annotation. I saw that the zoom-in figure you showed in your Nature Biotech paper (figure3) is really amazing. I want to do the same with my own dataset. I have successfully read the json file and make the plot but the cell number in the json file is inconsistent with that in the cell_stats file. Appreciated if you can help or give comments... THanks!

Hi @zhanglab2008 , could you give me some recommendations about plotting the GeoJson file, which is produced by save-polygons=geojson?

I just used the json/geojson package in python and plot it out with matplotlib

@teng-gao
Copy link

I have the same question ..

@VPetukhov
Copy link
Collaborator

VPetukhov commented Apr 20, 2023

So, this is finally fixed in v0.6.0.
Now the cell numbers are consistent, and you can use any plotting package for visualizing them.

@reillyeo
Copy link

reillyeo commented May 9, 2023

The cell numbers are now consistent in that there are the same number of cells, but they still aren't ordered or labelled in the same way. Or am I missing something? Is it possible to relate a cell from the cell stats csv file to its polygon coordinates?

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

5 participants