ludvigla / semla

Other
47 stars 6 forks source link

Error in `geom_point()`: ! Problem while converting geom to grob. ℹ Error occurred in the 1st layer. #6

Closed whitneyt1 closed 12 months ago

whitneyt1 commented 1 year ago

Hello,

When trying to map multiple features, I receive this error:

Screen Shot 2023-04-26 at 6 00 27 PM

I have tried with ggplot2 version 3.4.2 and 3.4.0.

Thank you!

whitneyt1 commented 1 year ago
Screen Shot 2023-04-26 at 6 03 55 PM
whitneyt1 commented 1 year ago

I have semi-resolved this by specifying section_number=1, although it does not work for all sections within my object. I'm expecting this is due to the cell_types of interest not being present within that section.

ludvigla commented 1 year ago

Thank your for reporting this. Seems like a bug that occurs when some spots have NA values. The bug should be fixed now!

Cheers, Ludvig