Open davidaarmstrong opened 1 week ago
Hi Dave,
Thanks a lot for opening the issue and for providing such a comprehensive example/input. We had it on our list for a long time to implement multiple testing corrections but then our attention shifted elsewhere.
I'd be happy to implement your suggestion in the next mwa release I was planning to do in the coming months and, of course, credit you with the addition. I'm sure this would be something that others also find very useful!
It's always a little bit of hustle to prep packages for CRAN but I think I'll have time before the end of the year to turn this and a few other smaller updates around and make a new version available here and on CRAN.
Would that work for you? Many thanks again for looking into this and for already working out the alternative implementation, Sebastian and I really appreciate it!
Best, Karsten
I watched a presentation today where someone used your package and it seemed really neat. I asked about whether there was any sort of multiple testing adjustment in the plot and she suggested that wasn't an option even though she wished it was. After looking at your plotting function for the
mwa
objects, it seems like a trivial option to add. Below is an option.Above, the first line of the function
adj <- match.arg(adjust)
and the 15th linepdata$pvalue <- p.adjust(pdata$pvalue, method=adj)
are new. Everything else is the same within the function. The function definition also includes theadjust
argument now with the relevant options. Here is an example using the function based on the example data from themwa
package. As written above, it allows the methods available instats::p.adjust()
.Created on 2024-11-18 with reprex v2.1.0