Skip to content

Commit

Permalink
updated hypergeometric data
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltaf committed Sep 13, 2024
1 parent 635ee73 commit 1eedbef
Show file tree
Hide file tree
Showing 15 changed files with 663,264 additions and 19,864 deletions.
6 changes: 3 additions & 3 deletions classes/hypergeometric_distribution_class_V3.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def predict(
G, negative_protein_neighbor, negative_go
)
)
K = (
len(negative_go_neighbor) - 1
K = len(
negative_go_neighbor
) # Number of protein neighbors the GO term of interest has, same for pos & neg, does not include protein of interest (but does not change significantly if protein is included)

neg_n = len(
Expand All @@ -139,7 +139,7 @@ def predict(
negative_score = 0
else:
negative_score = 1 - (
(math.comb(K + 1, neg_k) * math.comb(N - K + 1, neg_n - neg_k))
(math.comb(K, neg_k) * math.comb(N - K, neg_n - neg_k))
/ math.comb(N, neg_n)
)

Expand Down
57,578 changes: 55,589 additions & 1,989 deletions results/final-inferred-complete/bsub/hypergeometric_distribution.csv

Large diffs are not rendered by default.

52,590 changes: 50,595 additions & 1,995 deletions results/final-inferred-complete/elegans/hypergeometric_distribution.csv

Large diffs are not rendered by default.

60,464 changes: 58,482 additions & 1,982 deletions results/final-inferred-complete/fly/hypergeometric_distribution.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 1eedbef

Please sign in to comment.