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

Weighted ORA #66

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Weighted ORA #66

wants to merge 4 commits into from

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Feb 1, 2022

This PR contains a first attempt at implementing a weighted variant of ORA based on evidence counts. I'll try and write up a mathematical description later, but the main difference between normal ORA and weighted ORA is that in normal ORA, the weights for each gene in the pathway are either 1.0 or 0.0, and you can assume the ones that aren't explicitly given are 0.0. In weighted ORA, you're only given the positive ones and can't really assume anything about the others, so my solution was to assign all of them the average of the given values with a scaling factor such that if the weights are actually just given as 1.0 each, this becomes the special case of normal ORA.

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.

1 participant