Closed SilasK closed 1 year ago
Hi Silas
Thanks for reporting with reprex, bug fix incoming for new version
The problem I believe is the new_var argument's default becomes length two when grouping is length two, which isn't compatible with my internal use of something like dplyr(across(..., .names = new_var))
If you specify the new_var arg explicitly, it should work with the current microViz version
bb_stats <- bb_models %>%
taxatree_models2stats(param = "mu") %>%
taxatree_stats_p_adjust(method = "BH", grouping = c("rank","term"), new_var = "whatevernameyouwant")
I tried to use
grouping = c("rank","term")
in taxatree_stats_p_adjust .It gives me the folowing error:
working example, adapted from documentation