powellgenomicslab / Nebulosa

R package to visualize gene expression data based on weighted kernel density estimation
89 stars 8 forks source link

plot_density error: empty raster #29

Open daddabi opened 4 months ago

daddabi commented 4 months ago

I have previously used the function before with no problem, but now I got this error:

Nebulosa::plot_density(SeuratObject, "CD4") Error in grid.Call.graphics(C_raster, x$raster, x$x, x$y, x$width, x$height, : Empty raster

Does anyone have a similar problem or any solution on how to fix this?

My session info:

R version 4.3.2 Nebulosa_1.12.1 Seurat_5.0.1 SeuratObject_5.0.1 ggplot2_3.5.1 patchwork_1.2.0

PrinceWang2018 commented 1 week ago

I have the same issue.

My session info: R 4.4.1 Nebulosa 1.14.0 Seurat 5.1.0 SeuratObject 5.0.2 ggplot2 3.5.1