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

Updated version of pyPAGE #32

Merged
merged 29 commits into from
Jun 27, 2022
Merged

Conversation

artemy-bakulin
Copy link
Collaborator

@artemy-bakulin artemy-bakulin commented Jun 9, 2022

I have updated pyPAGE by adding to it functionalities of iPAGE-2, namely:

  1. calculation of CMI
  2. accession switch
  3. common annotation format processing
  4. making heatmaps
    Also I made minor changes to your code:
  5. fixing a bug in get_gene_subset function
  6. modifying consolidation strategy (sort pathways according to cmi not p-value)
  7. modify result table content
  8. modify hypergeometric test calculation (there we need to subtract 1 from k, an explanation is here: https://alexlenail.medium.com/understanding-and-implementing-the-hypergeometric-test-in-python-a7db688a7458)
    Also I added tests for the heatmap module (test_heatmap.py) and for the new version (test_run_2.py).

artemy-bakulin and others added 29 commits June 9, 2022 15:51
… choose pathways if redundancy is less than redundancy ratio
…correct by substraction one from the number k
this increases performance
@noamteyssier noamteyssier changed the base branch from main to ipage2-merge June 27, 2022 20:33
@noamteyssier noamteyssier changed the base branch from ipage2-merge to main June 27, 2022 20:34
@noamteyssier noamteyssier changed the base branch from main to ipage2-merge June 27, 2022 20:35
@noamteyssier noamteyssier merged commit 06e17b1 into goodarzilab:ipage2-merge Jun 27, 2022
This was referenced Jun 27, 2022
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

Successfully merging this pull request may close these issues.

2 participants