Skip to content
Snippets Groups Projects
Commit c22d4b19 authored by Xianzong Meng's avatar Xianzong Meng
Browse files

refine effsize Y axis scale

parent 6f9b0321
No related branches found
No related tags found
No related merge requests found
......@@ -374,7 +374,7 @@ p_tmp<- c(t.test(df$value[df$group == 'Tph2+/+'], df$value[df$group == 'Tph2+/-'
dabest_hedges <- dabest(df, group, value, idx = c('Tph2+/+','Tph2+/-','Tph2-/-'), paired = FALSE) %>% hedges_g()
dabest_hedges
Fig_fighting<-plot(dabest_hedges, palette = pal, rawplot.ylabel = "fighting (%)")
Fig_fighting<-plot(dabest_hedges, palette = pal, rawplot.ylabel = "fighting (%)", effsize.ylim = c(0, 5))
ggsave('assets/figure/Fig_fighting.svg', plot = Fig_fighting, device = 'svg',dpi = 300)
Fig_fighting
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment