I want to run Bonferroni P Adjusted Value Test on a stacked data set.
This is my code:
stat.2 <- stack.2 %>%
group_by(modules) %>%
t_test(values ~ phenotype) %>%
adjust_pvalue(method = "bonferroni") %>%
add_significance("p.adj")
The error which I'm facing is the following:
Error in
mutate(): ! Problem while computingdata = map(.data$data, .f, ...). Caused by error int.test.default(): ! not enough 'y' observations Runrlang::last_error()to see where the error occurred.
Here's the data which I'm working on:

 
     
    