-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
studyType
to StudyLocus
and Colocalisation
(and `Stud…
…yLocusOverlap`) (#782) * feat: add studyType to StudyLocus schema * feat: add annotate_study_type function to add studyType to StudyLocus * fix: remove lines for retrieving studyType as StudyLocus now contains studyType * fix: add studyType to test input data as StudyLocus now contains studyType * feat: add leftStudyType and rightStudyType to Colocalisation and StudyLocusOverlap schemas * feat: update _convert_to_square_matrix and its test with leftStudyType and rightStudyType * feat: update test_find_overlaps_semantic inputs with leftStudyType and rightStudyType * feat: update tests in test_colocalisation_method.py with leftStudyType and rightStudyType * feat: add leftStudyType and rightStudyType when creating StudyLocusOverlap * feat: add leftStudyType and rightStudyType to Colocalisation results * fix: remove redundant study_index parameter from filter_by_study_type function def and calls * fix: remove redundant study_index parameter from find_overlaps function def and calls * fix: remove leftStudyType from Colocalisation (not needed as always gwas) * fix: remove leftStudyType from StudyLocusOverlap (not needed as always gwas) * fix: missing comma * feat: update tests in test_locus_to_gene.py with studyType and rightStudyType * feat: update tests (colocalisation, l2g, l2g feature matrix) with rightStudyType * fix: remove studyType from metadata_cols in append_study_metadata function call
- Loading branch information
Showing
17 changed files
with
83 additions
and
83 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
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.