I was thinking it would be nice to have the option to choose which type of fisher's test to use for the enrichment, unless there is some reason why you would only check for positive enrichment?
For my work, it would be informative to know not only which regions are enriched but also which are depleted.
It is a simple change in the code to allow an option for the fisher test. For example, instead of hard-coding alternative="greater" you could include a variable fisher=c("greater","less", "two.sided")
I was thinking it would be nice to have the option to choose which type of fisher's test to use for the enrichment, unless there is some reason why you would only check for positive enrichment?
For my work, it would be informative to know not only which regions are enriched but also which are depleted.
It is a simple change in the code to allow an option for the fisher test. For example, instead of hard-coding
alternative="greater"
you could include a variablefisher=c("greater","less", "two.sided")
Let me know what you think. Thanks.