forked from opentargets/gentropy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: redefine neighbourhood features to represent similarity with be…
…st metric + other fixes (opentargets#913) * feat: mean to max * fix: remove protein coding * fix: adding protein coding * feat(l2g): neighbourhood features are a division between local and regional * feat(l2g): regional max for distance features only consider protein coding genes * fix(coloc_features): regional max for coloc features only consider protein coding genes * fix(vep_features): regional max for vep features only consider protein coding genes * feat(l2g): train and predict based on protein coding genes only * feat: set nbh feature to 1 if features are 0 in the region * feat: set nbh feature to 1 if features are 0 in the region * Revert "feat: set nbh feature to 1 if features are 0 in the region" This reverts commit da145ab. * fix: return nbh features only for protein coding genes + optimisation * test: change expected results based on changes * test: change expected results based on changes * fix: test --------- Co-authored-by: Yakov Tsepilov <[email protected]>
- Loading branch information
1 parent
c46480b
commit 40ca215
Showing
9 changed files
with
117 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.