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
When i used the geom_dotplot function in ggplot2, i can made the dot be jitter by position = "jitter". However, in ggdotplot, when i tried to use the parameter of add.params=list(position="jitter”), dot just separated from the error bar. May i ask that what's wrong with my codes?
The picture below is what I want. THANKS.
When i used the geom_dotplot function in ggplot2, i can made the dot be jitter by position = "jitter". However, in ggdotplot, when i tried to use the parameter of add.params=list(position="jitter”), dot just separated from the error bar. May i ask that what's wrong with my codes?
The picture below is what I want. THANKS.
ggplot(a1, aes(x = Treatment, y = Value)) +geom_dotplot(binaxis = "y", stackdir = "centerwhole",stackratio=0.5,position = "jitter")
ggdotplot(a1, x = "Treatment", y = "Value", fill = "Treatment", palette = c("#0AFAC8", "#CD0000", "#5A9AD5"), binwidth = 0.3,add.params = list(position = "jitter"),add = c("mean_se"))+ stat_compare_means(comparisons = my_comparisons1, paired = FALSE,method = "t.test", method.args = list(var.equal=TRUE),label = "p.signif")+ ylab("Relative expression level")+xlab("")
The text was updated successfully, but these errors were encountered: