-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show association selection as association category (#733)
Change up association table category count outputs to be based on the association category, rather than counterpart category. This can potentially be simplified by just generating labels from the association categories, but for now this PR is going to make a smaller change. Downstream, the UI needs a minor shift in the "sentence" structure of the association table heading/controls.
- Loading branch information
1 parent
a9d9d64
commit 79ff82b
Showing
21 changed files
with
190 additions
and
191 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
40 changes: 20 additions & 20 deletions
40
backend/src/monarch_py/utils/association_type_mappings.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
- subject_label: Diseases | ||
object_label: Phenotypes | ||
- subject_label: Disease to Phenotype | ||
object_label: Phenotype to Disease | ||
category: "biolink:DiseaseToPhenotypicFeatureAssociation" | ||
- subject_label: Genes | ||
object_label: Phenotypes | ||
- subject_label: Gene to Phenotype | ||
object_label: Phenotype to Gene | ||
category: "biolink:GeneToPhenotypicFeatureAssociation" | ||
- subject_label: Interactions | ||
object_label: Interactions | ||
symmetric: true | ||
category: "biolink:PairwiseGeneToGeneInteraction" | ||
- subject_label: Genes | ||
object_label: Pathways | ||
- subject_label: Gene to Pathway | ||
object_label: Pathway to Gene | ||
category: "biolink:GeneToPathwayAssociation" | ||
- subject_label: Genes | ||
object_label: Anatomy | ||
- subject_label: Gene Expression | ||
object_label: Gene Expression | ||
category: "biolink:GeneToExpressionSiteAssociation" | ||
- subject_label: Orthologs | ||
object_label: Orthologs | ||
symmetric: true | ||
category: "biolink:GeneToGeneHomologyAssociation" | ||
- subject_label: Chemicals | ||
object_label: Pathways | ||
- subject_label: Chemical to Pathway | ||
object_label: Pathway to Chemical | ||
category: "biolink:ChemicalToPathwayAssociation" | ||
- subject_label: Genes | ||
object_label: Molecular Functions | ||
- subject_label: Gene to Molecular Function | ||
object_label: Molecular Function to Gene | ||
category: "biolink:MacromolecularMachineToMolecularActivityAssociation" | ||
- subject_label: Genes | ||
object_label: Cellular Components | ||
- subject_label: Gene to Cellular Component | ||
object_label: Cellular Component to Gene | ||
category: "biolink:MacromolecularMachineToCellularComponentAssociation" | ||
- subject_label: Genes | ||
object_label: Biological Processes | ||
- subject_label: Gene to Biological Process | ||
object_label: Biological Process to Gene | ||
category: "biolink:MacromolecularMachineToBiologicalProcessAssociation" | ||
- subject_label: Causal Genes | ||
object_label: Causal Diseases | ||
- subject_label: Causal Gene | ||
object_label: Causal Disease | ||
category: "biolink:CausalGeneToDiseaseAssociation" | ||
- subject_label: "Correlated Genes" | ||
object_label: "Correlated Diseases" | ||
- subject_label: Correlated Gene | ||
object_label: Correlated Disease | ||
category: "biolink:CorrelatedGeneToDiseaseAssociation" |
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.