Skip to content

Conversation

@cthoyt
Copy link
Collaborator

@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.

@cthoyt cthoyt force-pushed the weighted-ora-redux branch from 2d3770a to 9037ed7 Compare February 2, 2022 11:44
@cthoyt cthoyt force-pushed the weighted-ora-redux branch from 9037ed7 to 4c4f169 Compare March 15, 2022 12:30
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