When testing more gene sets with mroast
, should number of rotations be increased to maintain the accuracy of p values? If I use x number of rotations for testing 1 gene set, should I use perhaps 10x number of rotations for 10 gene sets so that each gene set gets x rotations? This question obviously demonstrates my lack of understanding of how mroast works, sorry about that.
Does the number of rotations you should use depend on the number of gene sets? I thought the OP was asking something along those lines. For instance, if you do mroast with say 5 gene sets, the multiplicity burden isn't that great, so maybe the default 999 rotations is sufficient. But if you have 100 gene sets and the minimum possible p-value is 0.001 with 999 rotations, should you bump that up to say 10 or 20K so your minimum possible p-value is small enough to survive multiplicity correction?
I don't know how the interplay between the midp and BH works out in this situation, but I was thinking that you would probably want to bump the rotations up as the gene sets increased, all things equal.
What you say about multiple testing is right, but it seems to me that OP was asking a much more basic question. I've added a bit more detail to my reply.
That's true, didn't consider that. Thanks. I indeed was asking a much more basic question.