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

ImageFeaturePlot can not show when data is huge #7505

Open
Chaosli98 opened this issue Jun 28, 2023 · 4 comments
Open

ImageFeaturePlot can not show when data is huge #7505

Chaosli98 opened this issue Jun 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Chaosli98
Copy link

Hi,
First of all, thank you for developing such a great tool! I am new to seurat V5, and i just start to use this for MERSCOPE data. So far I've been able to reproduce the tutorial data pretty well, which is only 80,000 cells.

However, I recently got more than 800, 000 cells in a slice, and I couldn't get any gene expression in any one cell when I used ImageFeaturePlot, just got axes and a black backgroud. I sure that the genes were fine, and the other drawing features including ImageDimPlot and FeaturePlot worked fine. Is it because there are too many cells? Any suggestions for how to deal with it?

Thanks!

Jin

@Chaosli98 Chaosli98 added the bug Something isn't working label Jun 28, 2023
@alikhuseynov
Copy link

Hi,
Could you provide an example of your script for ImageFeaturePlot?
What type of segmentation data from Vizgen do you have, eg in .parquet file?
Take a look these:

it was tested on a number of Vizgen data. (Note: that is NOT Seurat V5)
See if you can load your data and do plots.
hope this helps

@Chaosli98
Copy link
Author

My segmentation data are json files, and I can be sure that there is no problem with my data reading. For the tutorial data, ImageFeaturePlot works well,

I can do other plot such as "FeaturePlot(vizgen.obj,features = c('CD1C'))", and "ImageDimPlot(vizgen.obj, fov = "BC", cols = "Set3", axes = TRUE,size = 0.3,alpha = 0.5)". However, for ImageFeaturePlot, i do it by "ImageFeaturePlot(vizgen.obj, fov = "BC", features = "PECAM1")", only got axes and a black backgroud.

@alikhuseynov
Copy link

alikhuseynov commented Jun 30, 2023 via email

@AustinHartman
Copy link
Contributor

@Chaosli98 While ImageFeaturePlot is a bit slower for plots with extremely high numbers of cells, I'm still able to generate plots with expression for a dataset containing 885K cells. Are you attempting to plot expression for each cell segmentation or each cell centroid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants