Closed dfermin closed 5 months ago
Hi - have you tried DotPlot(ssData, features="EPHA7", group.by="subclass.l1", split.by="sampletype", dot.scale=10)
without the additional ggplot arguments? Just wondering since we don't expect this behavior and have not seen similar bugs on our side, so this could be some sort of visualization conflict with the additional themes that you have specified. If not, please keep us updated.
i also see the same problem
Hello. I don't know if this is a bug or not but I was hoping to get sum clarification on this.
I have found a weird behavior in Dotplot. In my data I know that "Gene1" is highly expressed in the cells derived from treated mice vs the healthy controls ("VG1_TRT" vs "VG1_HC"). When I execute the this code:
I get the plot on the left. Since I didn't specify any colors in the
DotPlot()
function it should color the highest expression in blue as stated in the documentation. But it does the opposite in the case ofVG1_TRT
.If I execute this code:
I get the DotPlot on the right correctly showing that
VG1_TRT
having the highest expression. As far as I can tell, if you do not specify a value for thecols
argument in DotPlot the "blue is high" coloring scheme is not necessarily followed by the function as documented.Obviously I can always ensure the correct coloring is performed by using the
col="Spectral"
argument to my DotPlot commands but I wasn't sure if this was a bug or not so I posted it here hoping for some suggestions.Thanks, Damian