Closed samrthakur closed 1 year ago
This is likely an issue with you having too many different names resulting in 10s-100s of colors. The error can occurs if there isn't enough space to draw the legend with all the different colors.
I see, I'll try to reduce the number of gene names then by adding gene cluster names. Thank you so much! Update: Its working now!
Hello, I'm trying to run this code chunk, where "name" is for the gene names, according to which I want to colour the names. When I run
I get this: Error: Discrete value supplied to continuous scale
When I change the code to add ggnewscale::new_scale_fill() before geom_bin_label(), I get the following error: Error in grid.Call(C_convert, x, as.integer(whatfrom), as.integer(whatto), : Viewport has zero dimension(s)
Is there any way to solve this?