Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empirical p-value calculation #23

Open
biodataganache opened this issue Jul 1, 2021 · 0 comments
Open

Empirical p-value calculation #23

biodataganache opened this issue Jul 1, 2021 · 0 comments

Comments

@biodataganache
Copy link
Collaborator

I'd like to have a generalized framework for calculation of empirical p-values from all the enrichment methods. There are multiple ways to accomplish this - but I think a simple and universal method is to randomize gene labels within pathway designations (that is, keep the same number in each pathway, but randomly reassign genes to different pathways). I think this could be accomplished at the leapR.R .enrichment_wrapper function. Given an optional number of background randomizations the code could simply run the same enrichment multiple times with different randomized gene sets and then compare to the real enrichment results. Output could be a results table (same format as original) where the p-value is now empirically calculated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant