rstatix icon indicating copy to clipboard operation
rstatix copied to clipboard

Revisited a script which used to work and now getting an error

Open rebeelouise opened this issue 1 year ago • 1 comments

Error in parse(text = elt) : :1:7: unexpected symbol 1: Using an ^

Does anyone know what this means?

`stats1 <-df %>%
+   filter(variable=="TsTvRatio") %>% 
+   filter(Sample.Type=="Swab") %>% 
+   filter(DPI != "5") %>% 
+   filter(DPI != "4") %>%
+   rstatix::group_by(DPI) %>% 
+   rstatix::wilcox_test(value~Cohort) %>% 
+   adjust_pvalue(method="none") %>% 
+   add_significance("p") %>%
+   add_xy_position(x = "Cohort", dodge = 0.8) %>%
+   remove_ns(col="p")`

rebeelouise avatar Mar 22 '23 11:03 rebeelouise

@rebeelouise, please create a reprex.

Why do you think that this issue is related to rstatix?

GegznaV avatar May 15 '23 19:05 GegznaV