You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your work in developing the geom_signif extension to ggplot. It is a great tool.
I want to bring to your attention an issue I have run into using geom_signif, specifically, that the geom_signif layer will not render in the plot if factor levels are reassigned within ggplot. I found this while using geom_signif to annotate some bar plots
Here is an example:
library(plyr)
library(ggplot2)
library(ggsignif)
#generate some data
mtcars.meanMPG <-
ddply(
mtcars,
.(carb, am),
summarize,
meanMPG = round(mean(mpg),3)
)
I often find myself reassigning factor levels in order to get figures to rendering correctly. Just letting you know in case this is something you want to look into.
Thanks,
-Joe
The text was updated successfully, but these errors were encountered:
Hi Joe,
thanks for letting me know. This is indeed a puzzling bug. Unfortunately I don't have the capacity right now to search for the root cause. I will just leave this issue open for others who might encounter the same problem.
Best, Constantin
Hi Constantin,
Thank you for your work in developing the geom_signif extension to ggplot. It is a great tool.
I want to bring to your attention an issue I have run into using geom_signif, specifically, that the geom_signif layer will not render in the plot if factor levels are reassigned within ggplot. I found this while using geom_signif to annotate some bar plots
Here is an example:
This works:
This does not:
Nor does this:
I often find myself reassigning factor levels in order to get figures to rendering correctly. Just letting you know in case this is something you want to look into.
Thanks,
-Joe
The text was updated successfully, but these errors were encountered: