statistics within and across groups #42
Replies: 1 comment 1 reply
-
Hi @marshelma Thank you for using tidyplots! At the moment there is no way to have both comparisons in one plot.
Best |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm trying to generate a plot contain statistic comparison between groups and within groups, the code I used are:
df %>%
tidyplot(x = Genotype, y = Quantified_value, color = Treatment) %>%
add_mean_bar(alpha = 0.4) %>%
add_sem_errorbar() %>%
add_data_points_beeswarm(size = 0.5) %>%
reorder_x_axis_labels(c("WT","HET","KO"))%>%
adjust_y_axis_title("pg/mL") %>%
add_test_pvalue(hide.ns = F)
However, I can only get comparison across one variable (Treatment), but not the other (Genotype), is there a way to perform comparison on both of these two variables?
Beta Was this translation helpful? Give feedback.
All reactions