diff --git a/README.md b/README.md index 305efdffb..a7a646af5 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,10 @@ The Monarch Initiative is an extensive knowledge graph and ecosystem of tools made for the benefit of clinicians, researchers, and scientists. The knowledge graph consists of millions of entities – genes, diseases, phenotypes, and many more – imported from dozens of sources. -We welcome the contributions of the community to help us maintain and improve the knowledge graph and the tools that use it. To help get started on contributing to the Monarch Initiative, please see our CONTRIBUTING.md file. +We welcome the contributions of the community to help us maintain and improve the knowledge graph and the tools that use it. To help get started on contributing to the Monarch Initiative, please see our [CONTRIBUTING.md](./CONTRIBUTING.md) file. # Monarch App + [![documentation](https://img.shields.io/badge/-Documentation-purple?logo=read-the-docs&logoColor=white&style=for-the-badge)](https://monarch-initiative.github.io/monarch-documentation/) ![](https://github.com/monarch-initiative/monarch-app/actions/workflows/test-backend.yaml/badge.svg) ![](https://github.com/monarch-initiative/monarch-app/actions/workflows/test-frontend.yaml/badge.svg) @@ -18,9 +19,11 @@ as well as `monarch-py`, a Python library for interacting with the Monarch Initi If you wish to run Monarch-App as a local web application, please install the requirements below and then follow on to the usage section to start the application. Refer to [Using Local Data](#using-local-data) to see how you can run the full Monarch website locally and use your own data store. +The app also offers a widget called Phenogrid that can be embedded in any website. +For more information on how to use the Phenogrid widget, please refer to the [Phenogrid documentation](./frontend/PHENOGRID.md). ### For developers The monarch-app repository contains the code to run the Monarch Initiative website in the `frontend` and `backend` directories as well as documentation, helper scripts, Docker files and services to help set up a local environment for development and for deployment. -To start development, please refer to the CONTRIBUTING.md document with this README. If you are planning to only develop the frontend or backend of the application you can refer directly to the README and CONTRIBUTING files in each of those sections. +To start development, please refer to the [CONTRIBUTING.md](./CONTRIBUTING.md) document with this README. If you are planning to only develop the frontend or backend of the application you can refer directly to the README and CONTRIBUTING files in each of those sections. diff --git a/frontend/CONTRIBUTING.md b/frontend/CONTRIBUTING.md index a335001fa..a25be36cb 100644 --- a/frontend/CONTRIBUTING.md +++ b/frontend/CONTRIBUTING.md @@ -184,7 +184,7 @@ Defaults to `false`. ## Phenogrid The phenogrid is a custom Vue component that displays a grid of phenotype comparisons. -For more information on the phenogrid and now to use it, see the [Phenogrid](./phenogrid.md) documentation. +For more information on the phenogrid and now to use it, see the [Phenogrid](./PHENOGRID.md) documentation. ## Style guidelines diff --git a/frontend/phenogrid.md b/frontend/PHENOGRID.md similarity index 79% rename from frontend/phenogrid.md rename to frontend/PHENOGRID.md index b9e9d1f1e..0b9803b63 100644 --- a/frontend/phenogrid.md +++ b/frontend/PHENOGRID.md @@ -6,24 +6,31 @@ A widget for visualizing similarity between phenotypes. Phenogrid displays a visual comparison between sets of phenotypes in a grid arrangement, with calculations of the similarity in various metrics. -Public pages at `monarchinitiative.org/phenogrid-search` and `/phenogrid-multi-compare` provide a widget embeddable on any site via an ` ``` +You can specify a height and width here, but the widget will emit a `message` event to the parent window with the intrinsic size of its content, so you can dynamically set the dimensions of your iframe container. +See the [Events](#events) section for more details. + ## Modes -Phenogrid can operate in several modes, which you can specify via the `src` URL. +Phenogrid can operate in multiple modes, which you can specify via the `src` URL. - [`/phenogrid-search`](#search-mode) - Compares a list of enumerated phenotypes (set A) against all the phenotypes from a gene or disease of interest (group B). - [`/phenogrid-multi-compare`](#multi-compare-mode) - Compares a list of enumerated phenotypes to _multiple_ enumerated other lists of phenotypes. +For more details on the parameters for each mode, see the respective sections below. + ## Passing Parameters The widget can accept input parameters in two different ways. @@ -31,16 +38,16 @@ You can choose to pass them either way, unless specified otherwise. ### URL Params (simple) -Specify params in the URL like `?some-param=1,2,3&another-param=abc`. +Specify params in the `src` URL like `?some-param=1,2,3&another-param=abc`. This is allows convenient use in cases where the parameters are simple and short. ### Message Params (detailed) -For more flexible and detailed parameters, you can send the widget a message from JavaScript like this: +For more flexible and detailed parameters, you can omit params from the URL and instead send the widget a message from JavaScript like this: ```js // get your iframe DOM element somehow -const iframe = document.querySelector("iframe"); +const iframe = document.querySelector("iframe[name='your-iframe-name']"); // send it a message iframe.contentWindow.postMessage( // some parameters @@ -55,7 +62,7 @@ iframe.contentWindow.postMessage( You should use this method when your params might be [too long for a URL](https://www.google.com/search?q=max+url+length). -## "Search" Mode +## "Search" Mode Parameters As URL params: @@ -72,7 +79,7 @@ As message params: } ``` -## "Multi-Compare" Mode +## "Multi-Compare" Mode Parameters As URL params: @@ -108,7 +115,7 @@ You can use the same event listener as the standard Phenogrid widget to set the General parameters available regardless of the mode of operation. - `stylesheet` - URL to a stylesheet that will be applied to the widget, for the purposes of matching its styles to your webpage. - If passed as a URL param, make sure it is URI encoded. + - If passed as a URL param, make sure it is URI encoded. ## Events @@ -132,7 +139,7 @@ MessageEvent<{ This can happen when it switches from loading to results, when new phenotypes are loaded, when the grid is flipped/transposed, etc. -This can be useful for setting the dimensions of your iframe container: +This can be useful for dynamically setting the dimensions of your iframe container: ```js window.addEventListener("message", (event) => { diff --git a/frontend/fixtures/index.ts b/frontend/fixtures/index.ts index 84252f5e8..674e40af0 100644 --- a/frontend/fixtures/index.ts +++ b/frontend/fixtures/index.ts @@ -11,7 +11,7 @@ import nodePublicationAbstract from "./node-publication-abstract.json"; import nodePublicationSummary from "./node-publication-summary.json"; import node from "./node.json"; import phenotypeExplorerCompare from "./phenotype-explorer-compare.json"; -import phenotypeExplorerMulticompare from "./phenotype-explorer-multicompare.json"; +import phenotypeExplorerMulticompare from "./phenotype-explorer-multi-compare.json"; import phenotypeExplorerSearch from "./phenotype-explorer-search.json"; import search from "./search.json"; import textAnnotator from "./text-annotator.json"; diff --git a/frontend/fixtures/phenotype-explorer-multicompare.json b/frontend/fixtures/phenotype-explorer-multicompare.json deleted file mode 100644 index 64436f017..000000000 --- a/frontend/fixtures/phenotype-explorer-multicompare.json +++ /dev/null @@ -1,2193 +0,0 @@ -[ - { - "subject": { - "id": "0", - "category": null, - "name": "Set 1", - "full_name": null, - "deprecated": null, - "description": null, - "xref": [], - "provided_by": null, - "in_taxon": null, - "in_taxon_label": null, - "symbol": null, - "synonym": [], - "uri": null, - "namespace": null, - "has_phenotype": [], - "has_phenotype_label": [], - "has_phenotype_closure": [], - "has_phenotype_closure_label": [], - "has_phenotype_count": null - }, - "score": 0.5499139182472517, - "similarity": { - "subject_termset": { - "HP:0002616": { - "id": "HP:0002616", - "label": "Aortic root aneurysm (HPO)" - }, - "HP:0012450": { - "id": "HP:0012450", - "label": "Chronic constipation (HPO)" - }, - "HP:0010749": { - "id": "HP:0010749", - "label": "Blepharochalasis (HPO)" - }, - "HP:0002020": { - "id": "HP:0002020", - "label": "Gastroesophageal reflux (HPO)" - }, - "HP:0001763": { - "id": "HP:0001763", - "label": "Pes planus (HPO)" - }, - "HP:0004944": { - "id": "HP:0004944", - "label": "Dilatation of the cerebral artery (HPO)" - }, - "HP:0001533": { - "id": "HP:0001533", - "label": "Slender build (HPO)" - } - }, - "object_termset": { - "HP:0002616": { - "id": "HP:0002616", - "label": "Aortic root aneurysm (HPO)" - }, - "HP:0002108": { - "id": "HP:0002108", - "label": "Spontaneous pneumothorax (HPO)" - }, - "HP:0000023": { - "id": "HP:0000023", - "label": "Inguinal hernia (HPO)" - }, - "HP:0001763": { - "id": "HP:0001763", - "label": "Pes planus (HPO)" - }, - "HP:0000490": { - "id": "HP:0000490", - "label": "Deeply set eye (HPO)" - }, - "HP:0000268": { - "id": "HP:0000268", - "label": "Dolichocephaly (HPO)" - }, - "HP:0100785": { - "id": "HP:0100785", - "label": "Insomnia (HPO)" - }, - "HP:0000767": { - "id": "HP:0000767", - "label": "Pectus excavatum (HPO)" - }, - "HP:0000545": { - "id": "HP:0000545", - "label": "Myopia (HPO)" - } - }, - "subject_best_matches": { - "HP:0001533": { - "match_source": "HP:0001533", - "match_source_label": "Slender build (HPO)", - "match_target": "HP:0000268", - "match_target_label": "Dolichocephaly (HPO)", - "score": 0.30158730158730157, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001533", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0000268", - "object_label": null, - "object_source": null, - "ancestor_id": "UPHENO:0065599", - "ancestor_label": "increased size of the anatomical entity in independent continuant", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 5.92483911538792, - "jaccard_similarity": 0.30158730158730157, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.3367334218716675 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001763": { - "match_source": "HP:0001763", - "match_source_label": "Pes planus (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001763", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001763", - "ancestor_label": "Pes planus (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 17.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.137471745877483 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002020": { - "match_source": "HP:0002020", - "match_source_label": "Gastroesophageal reflux (HPO)", - "match_target": "HP:0000023", - "match_target_label": "Inguinal hernia (HPO)", - "score": 0.36363636363636365, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002020", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0000023", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.36363636363636365, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.686993109338994 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002616": { - "match_source": "HP:0002616", - "match_source_label": "Aortic root aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002616", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002616", - "ancestor_label": "Aortic root aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0004944": { - "match_source": "HP:0004944", - "match_source_label": "Dilatation of the cerebral artery (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 0.5185185185185185, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0004944", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002617", - "ancestor_label": "Vascular dilatation (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 13.260691452806897, - "jaccard_similarity": 0.5185185185185185, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 2.6221964241148323 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0010749": { - "match_source": "HP:0010749", - "match_source_label": "Blepharochalasis (HPO)", - "match_target": "HP:0000545", - "match_target_label": "Myopia (HPO)", - "score": 0.3389830508474576, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0010749", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0000545", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.3389830508474576, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.6165753204570361 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0012450": { - "match_source": "HP:0012450", - "match_source_label": "Chronic constipation (HPO)", - "match_target": "HP:0000023", - "match_target_label": "Inguinal hernia (HPO)", - "score": 0.4, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0012450", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0000023", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.4, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.769333299876813 - }, - "score_metric": "jaccard_similarity" - } - }, - "object_best_matches": { - "HP:0000023": { - "match_source": "HP:0000023", - "match_source_label": "Inguinal hernia (HPO)", - "match_target": "HP:0002020", - "match_target_label": "Gastroesophageal reflux (HPO)", - "score": 0.36363636363636365, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000023", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002020", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.36363636363636365, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.686993109338994 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000268": { - "match_source": "HP:0000268", - "match_source_label": "Dolichocephaly (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.273972602739726, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000268", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000234", - "ancestor_label": "Abnormality of the head (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.666946179859964, - "jaccard_similarity": 0.273972602739726, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.3515030881288832 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000490": { - "match_source": "HP:0000490", - "match_source_label": "Deeply set eye (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.4, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000490", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.4, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.7560502853616429 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000545": { - "match_source": "HP:0000545", - "match_source_label": "Myopia (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.3389830508474576, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000545", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.3389830508474576, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.6165753204570361 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000767": { - "match_source": "HP:0000767", - "match_source_label": "Pectus excavatum (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.48, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000767", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "UPHENO:0082129", - "ancestor_label": "shape anatomical entity in independent continuant", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.482954327603422, - "jaccard_similarity": 0.48, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.764034602055652 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001763": { - "match_source": "HP:0001763", - "match_source_label": "Pes planus (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001763", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001763", - "ancestor_label": "Pes planus (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 17.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.137471745877483 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002108": { - "match_source": "HP:0002108", - "match_source_label": "Spontaneous pneumothorax (HPO)", - "match_target": "HP:0001533", - "match_target_label": "Slender build (HPO)", - "score": 0.32, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002108", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001533", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000118", - "ancestor_label": "Phenotypic abnormality (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 4.118848568918744, - "jaccard_similarity": 0.32, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.1480555483311763 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002616": { - "match_source": "HP:0002616", - "match_source_label": "Aortic root aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002616", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002616", - "ancestor_label": "Aortic root aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0100785": { - "match_source": "HP:0100785", - "match_source_label": "Insomnia (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.23333333333333334, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0100785", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000707", - "ancestor_label": "Abnormality of the nervous system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.667976676361555, - "jaccard_similarity": 0.23333333333333334, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.2473416630916978 - }, - "score_metric": "jaccard_similarity" - } - }, - "average_score": 0.5499139182472517, - "best_score": 1, - "metric": "JaccardSimilarity" - } - }, - { - "subject": { - "id": "1", - "category": null, - "name": "Set 2", - "full_name": null, - "deprecated": null, - "description": null, - "xref": [], - "provided_by": null, - "in_taxon": null, - "in_taxon_label": null, - "symbol": null, - "synonym": [], - "uri": null, - "namespace": null, - "has_phenotype": [], - "has_phenotype_label": [], - "has_phenotype_closure": [], - "has_phenotype_closure_label": [], - "has_phenotype_count": null - }, - "score": 0.83497558824921, - "similarity": { - "subject_termset": { - "HP:0002020": { - "id": "HP:0002020", - "label": "Gastroesophageal reflux (HPO)" - }, - "HP:0004944": { - "id": "HP:0004944", - "label": "Dilatation of the cerebral artery (HPO)" - }, - "HP:0002616": { - "id": "HP:0002616", - "label": "Aortic root aneurysm (HPO)" - }, - "HP:0001763": { - "id": "HP:0001763", - "label": "Pes planus (HPO)" - }, - "HP:0012450": { - "id": "HP:0012450", - "label": "Chronic constipation (HPO)" - }, - "HP:0001533": { - "id": "HP:0001533", - "label": "Slender build (HPO)" - }, - "HP:0010749": { - "id": "HP:0010749", - "label": "Blepharochalasis (HPO)" - } - }, - "object_termset": { - "HP:0002020": { - "id": "HP:0002020", - "label": "Gastroesophageal reflux (HPO)" - }, - "HP:0002999": { - "id": "HP:0002999", - "label": "Patellar dislocation (HPO)" - }, - "HP:0004944": { - "id": "HP:0004944", - "label": "Dilatation of the cerebral artery (HPO)" - }, - "HP:0002616": { - "id": "HP:0002616", - "label": "Aortic root aneurysm (HPO)" - }, - "HP:0001278": { - "id": "HP:0001278", - "label": "Orthostatic hypotension (HPO)" - }, - "HP:0001763": { - "id": "HP:0001763", - "label": "Pes planus (HPO)" - }, - "HP:0003771": { - "id": "HP:0003771", - "label": "Pulp calcification (HPO)" - }, - "HP:0012378": { - "id": "HP:0012378", - "label": "Fatigue (HPO)" - }, - "HP:0012450": { - "id": "HP:0012450", - "label": "Chronic constipation (HPO)" - }, - "HP:0003010": { - "id": "HP:0003010", - "label": "Prolonged bleeding time (HPO)" - }, - "HP:0001533": { - "id": "HP:0001533", - "label": "Slender build (HPO)" - }, - "HP:0002829": { - "id": "HP:0002829", - "label": "Arthralgia (HPO)" - }, - "HP:0003394": { - "id": "HP:0003394", - "label": "Muscle spasm (HPO)" - }, - "HP:0002827": { - "id": "HP:0002827", - "label": "Hip dislocation (HPO)" - }, - "HP:0010749": { - "id": "HP:0010749", - "label": "Blepharochalasis (HPO)" - } - }, - "subject_best_matches": { - "HP:0001533": { - "match_source": "HP:0001533", - "match_source_label": "Slender build (HPO)", - "match_target": "HP:0001533", - "match_target_label": "Slender build (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001533", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001533", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001533", - "ancestor_label": "Slender build (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001763": { - "match_source": "HP:0001763", - "match_source_label": "Pes planus (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001763", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001763", - "ancestor_label": "Pes planus (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 17.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.137471745877483 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002020": { - "match_source": "HP:0002020", - "match_source_label": "Gastroesophageal reflux (HPO)", - "match_target": "HP:0002020", - "match_target_label": "Gastroesophageal reflux (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002020", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002020", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002020", - "ancestor_label": "Gastroesophageal reflux (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002616": { - "match_source": "HP:0002616", - "match_source_label": "Aortic root aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002616", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002616", - "ancestor_label": "Aortic root aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0004944": { - "match_source": "HP:0004944", - "match_source_label": "Dilatation of the cerebral artery (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0004944", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0004944", - "ancestor_label": "Dilatation of the cerebral artery (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 16.533709947213314, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.066166492805394 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0010749": { - "match_source": "HP:0010749", - "match_source_label": "Blepharochalasis (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0010749", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0010749", - "ancestor_label": "Blepharochalasis (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0012450": { - "match_source": "HP:0012450", - "match_source_label": "Chronic constipation (HPO)", - "match_target": "HP:0012450", - "match_target_label": "Chronic constipation (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0012450", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0012450", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0012450", - "ancestor_label": "Chronic constipation (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - } - }, - "object_best_matches": { - "HP:0001278": { - "match_source": "HP:0001278", - "match_source_label": "Orthostatic hypotension (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.2903225806451613, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001278", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002597", - "ancestor_label": "Abnormality of the vasculature (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 8.38058018831398, - "jaccard_similarity": 0.2903225806451613, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.55983065349256 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001533": { - "match_source": "HP:0001533", - "match_source_label": "Slender build (HPO)", - "match_target": "HP:0001533", - "match_target_label": "Slender build (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001533", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001533", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001533", - "ancestor_label": "Slender build (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001763": { - "match_source": "HP:0001763", - "match_source_label": "Pes planus (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001763", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001763", - "ancestor_label": "Pes planus (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 17.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.137471745877483 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002020": { - "match_source": "HP:0002020", - "match_source_label": "Gastroesophageal reflux (HPO)", - "match_target": "HP:0002020", - "match_target_label": "Gastroesophageal reflux (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002020", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002020", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002020", - "ancestor_label": "Gastroesophageal reflux (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002616": { - "match_source": "HP:0002616", - "match_source_label": "Aortic root aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002616", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002616", - "ancestor_label": "Aortic root aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002827": { - "match_source": "HP:0002827", - "match_source_label": "Hip dislocation (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.3548387096774194, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002827", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002814", - "ancestor_label": "Abnormality of the lower limb (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.8103334177950625, - "jaccard_similarity": 0.3548387096774194, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.6647548264296543 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002829": { - "match_source": "HP:0002829", - "match_source_label": "Arthralgia (HPO)", - "match_target": "HP:0001533", - "match_target_label": "Slender build (HPO)", - "score": 0.23255813953488372, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002829", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001533", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000118", - "ancestor_label": "Phenotypic abnormality (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 4.118848568918744, - "jaccard_similarity": 0.23255813953488372, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 0.9787092316994161 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002999": { - "match_source": "HP:0002999", - "match_source_label": "Patellar dislocation (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.3728813559322034, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002999", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002814", - "ancestor_label": "Abnormality of the lower limb (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.8103334177950625, - "jaccard_similarity": 0.3728813559322034, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.7065543399229992 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0003010": { - "match_source": "HP:0003010", - "match_source_label": "Prolonged bleeding time (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.2, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0003010", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000118", - "ancestor_label": "Phenotypic abnormality (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 4.118848568918744, - "jaccard_similarity": 0.2, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 0.9076176032800096 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0003394": { - "match_source": "HP:0003394", - "match_source_label": "Muscle spasm (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.2826086956521739, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0003394", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0033127", - "ancestor_label": "Abnormality of the musculoskeletal system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 5.847501256794697, - "jaccard_similarity": 0.2826086956521739, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.2855172900459941 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0003771": { - "match_source": "HP:0003771", - "match_source_label": "Pulp calcification (HPO)", - "match_target": "HP:0012450", - "match_target_label": "Chronic constipation (HPO)", - "score": 0.2857142857142857, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0003771", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0012450", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.2857142857142857, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.495359566423735 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0004944": { - "match_source": "HP:0004944", - "match_source_label": "Dilatation of the cerebral artery (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0004944", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0004944", - "ancestor_label": "Dilatation of the cerebral artery (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 16.533709947213314, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.066166492805394 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0010749": { - "match_source": "HP:0010749", - "match_source_label": "Blepharochalasis (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0010749", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0010749", - "ancestor_label": "Blepharochalasis (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0012378": { - "match_source": "HP:0012378", - "match_source_label": "Fatigue (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.18867924528301888, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0012378", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000118", - "ancestor_label": "Phenotypic abnormality (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 4.118848568918744, - "jaccard_similarity": 0.18867924528301888, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 0.8815561464924574 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0012450": { - "match_source": "HP:0012450", - "match_source_label": "Chronic constipation (HPO)", - "match_target": "HP:0012450", - "match_target_label": "Chronic constipation (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0012450", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0012450", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0012450", - "ancestor_label": "Chronic constipation (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - } - }, - "average_score": 0.83497558824921, - "best_score": 1, - "metric": "JaccardSimilarity" - } - }, - { - "subject": { - "id": "2", - "category": null, - "name": "Set 3", - "full_name": null, - "deprecated": null, - "description": null, - "xref": [], - "provided_by": null, - "in_taxon": null, - "in_taxon_label": null, - "symbol": null, - "synonym": [], - "uri": null, - "namespace": null, - "has_phenotype": [], - "has_phenotype_label": [], - "has_phenotype_closure": [], - "has_phenotype_closure_label": [], - "has_phenotype_count": null - }, - "score": 0.5309539844387191, - "similarity": { - "subject_termset": { - "HP:0002616": { - "id": "HP:0002616", - "label": "Aortic root aneurysm (HPO)" - }, - "HP:0001763": { - "id": "HP:0001763", - "label": "Pes planus (HPO)" - }, - "HP:0001533": { - "id": "HP:0001533", - "label": "Slender build (HPO)" - }, - "HP:0012450": { - "id": "HP:0012450", - "label": "Chronic constipation (HPO)" - }, - "HP:0010749": { - "id": "HP:0010749", - "label": "Blepharochalasis (HPO)" - }, - "HP:0004944": { - "id": "HP:0004944", - "label": "Dilatation of the cerebral artery (HPO)" - }, - "HP:0002020": { - "id": "HP:0002020", - "label": "Gastroesophageal reflux (HPO)" - } - }, - "object_termset": { - "HP:0002616": { - "id": "HP:0002616", - "label": "Aortic root aneurysm (HPO)" - }, - "HP:0000268": { - "id": "HP:0000268", - "label": "Dolichocephaly (HPO)" - }, - "HP:0001763": { - "id": "HP:0001763", - "label": "Pes planus (HPO)" - }, - "HP:0002108": { - "id": "HP:0002108", - "label": "Spontaneous pneumothorax (HPO)" - }, - "HP:0005059": { - "id": "HP:0005059", - "label": "Arthralgia/arthritis (HPO)" - }, - "HP:0001704": { - "id": "HP:0001704", - "label": "Tricuspid valve prolapse (HPO)" - }, - "HP:0000490": { - "id": "HP:0000490", - "label": "Deeply set eye (HPO)" - }, - "HP:0000023": { - "id": "HP:0000023", - "label": "Inguinal hernia (HPO)" - }, - "HP:0004970": { - "id": "HP:0004970", - "label": "Ascending tubular aorta aneurysm (HPO)" - }, - "HP:0002705": { - "id": "HP:0002705", - "label": "High, narrow palate (HPO)" - }, - "HP:0003179": { - "id": "HP:0003179", - "label": "Protrusio acetabuli (HPO)" - }, - "HP:0012432": { - "id": "HP:0012432", - "label": "Chronic fatigue (HPO)" - }, - "HP:0000545": { - "id": "HP:0000545", - "label": "Myopia (HPO)" - }, - "HP:0100785": { - "id": "HP:0100785", - "label": "Insomnia (HPO)" - }, - "HP:0001634": { - "id": "HP:0001634", - "label": "Mitral valve prolapse (HPO)" - }, - "HP:0002360": { - "id": "HP:0002360", - "label": "Sleep disturbance (HPO)" - }, - "HP:0000767": { - "id": "HP:0000767", - "label": "Pectus excavatum (HPO)" - }, - "HP:0001659": { - "id": "HP:0001659", - "label": "Aortic regurgitation (HPO)" - }, - "HP:0001653": { - "id": "HP:0001653", - "label": "Mitral regurgitation (HPO)" - }, - "HP:0007800": { - "id": "HP:0007800", - "label": "Increased axial length of the globe (HPO)" - } - }, - "subject_best_matches": { - "HP:0001533": { - "match_source": "HP:0001533", - "match_source_label": "Slender build (HPO)", - "match_target": "HP:0002705", - "match_target_label": "High, narrow palate (HPO)", - "score": 0.3055555555555556, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001533", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002705", - "object_label": null, - "object_source": null, - "ancestor_id": "UPHENO:0034110", - "ancestor_label": "increased height of anatomical entity in independent continuant", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 13.074278328576016, - "jaccard_similarity": 0.3055555555555556, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.998729190804999 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001763": { - "match_source": "HP:0001763", - "match_source_label": "Pes planus (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001763", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001763", - "ancestor_label": "Pes planus (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 17.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.137471745877483 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002020": { - "match_source": "HP:0002020", - "match_source_label": "Gastroesophageal reflux (HPO)", - "match_target": "HP:0002705", - "match_target_label": "High, narrow palate (HPO)", - "score": 0.24615384615384617, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002020", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002705", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.24615384615384617, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.3879792341725206 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002616": { - "match_source": "HP:0002616", - "match_source_label": "Aortic root aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002616", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002616", - "ancestor_label": "Aortic root aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0004944": { - "match_source": "HP:0004944", - "match_source_label": "Dilatation of the cerebral artery (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 0.5185185185185185, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0004944", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002617", - "ancestor_label": "Vascular dilatation (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 13.260691452806897, - "jaccard_similarity": 0.5185185185185185, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 2.6221964241148323 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0010749": { - "match_source": "HP:0010749", - "match_source_label": "Blepharochalasis (HPO)", - "match_target": "HP:0007800", - "match_target_label": "Increased axial length of the globe (HPO)", - "score": 0.38095238095238093, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0010749", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0007800", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.38095238095238093, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.7137296015857197 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0012450": { - "match_source": "HP:0012450", - "match_source_label": "Chronic constipation (HPO)", - "match_target": "HP:0002705", - "match_target_label": "High, narrow palate (HPO)", - "score": 0.26229508196721313, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0012450", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002705", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.26229508196721313, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.432764226437597 - }, - "score_metric": "jaccard_similarity" - } - }, - "object_best_matches": { - "HP:0000023": { - "match_source": "HP:0000023", - "match_source_label": "Inguinal hernia (HPO)", - "match_target": "HP:0012450", - "match_target_label": "Chronic constipation (HPO)", - "score": 0.4, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000023", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0012450", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0025031", - "ancestor_label": "Abnormality of the digestive system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.826350815132431, - "jaccard_similarity": 0.4, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.769333299876813 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000268": { - "match_source": "HP:0000268", - "match_source_label": "Dolichocephaly (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.273972602739726, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000268", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000234", - "ancestor_label": "Abnormality of the head (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.666946179859964, - "jaccard_similarity": 0.273972602739726, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.3515030881288832 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000490": { - "match_source": "HP:0000490", - "match_source_label": "Deeply set eye (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.4, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000490", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.4, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.7560502853616429 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000545": { - "match_source": "HP:0000545", - "match_source_label": "Myopia (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.3389830508474576, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000545", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.3389830508474576, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.6165753204570361 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0000767": { - "match_source": "HP:0000767", - "match_source_label": "Pectus excavatum (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.48, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0000767", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "UPHENO:0082129", - "ancestor_label": "shape anatomical entity in independent continuant", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.482954327603422, - "jaccard_similarity": 0.48, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.764034602055652 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001634": { - "match_source": "HP:0001634", - "match_source_label": "Mitral valve prolapse (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.3333333333333333, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001634", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0030680", - "ancestor_label": "Abnormality of cardiovascular system morphology (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 8.449787463668223, - "jaccard_similarity": 0.3333333333333333, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.6782716768219443 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001653": { - "match_source": "HP:0001653", - "match_source_label": "Mitral regurgitation (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.2413793103448276, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001653", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001626", - "ancestor_label": "Abnormality of the cardiovascular system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.652086110215225, - "jaccard_similarity": 0.2413793103448276, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.3590641147432985 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001659": { - "match_source": "HP:0001659", - "match_source_label": "Aortic regurgitation (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.25, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001659", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001626", - "ancestor_label": "Abnormality of the cardiovascular system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.652086110215225, - "jaccard_similarity": 0.25, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.3831202144259935 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001704": { - "match_source": "HP:0001704", - "match_source_label": "Tricuspid valve prolapse (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.3333333333333333, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001704", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0030680", - "ancestor_label": "Abnormality of cardiovascular system morphology (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 8.449787463668223, - "jaccard_similarity": 0.3333333333333333, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.6782716768219443 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0001763": { - "match_source": "HP:0001763", - "match_source_label": "Pes planus (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0001763", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0001763", - "ancestor_label": "Pes planus (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 17.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.137471745877483 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002108": { - "match_source": "HP:0002108", - "match_source_label": "Spontaneous pneumothorax (HPO)", - "match_target": "HP:0002020", - "match_target_label": "Gastroesophageal reflux (HPO)", - "score": 0.2926829268292683, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002108", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002020", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000118", - "ancestor_label": "Phenotypic abnormality (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 4.118848568918744, - "jaccard_similarity": 0.2926829268292683, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.09796022437868 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002360": { - "match_source": "HP:0002360", - "match_source_label": "Sleep disturbance (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.23728813559322035, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002360", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000707", - "ancestor_label": "Abnormality of the nervous system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.667976676361555, - "jaccard_similarity": 0.23728813559322035, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.257867939695146 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002616": { - "match_source": "HP:0002616", - "match_source_label": "Aortic root aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 1, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002616", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002616", - "ancestor_label": "Aortic root aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 18.11867244793447, - "jaccard_similarity": 1, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 4.256603393309561 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0002705": { - "match_source": "HP:0002705", - "match_source_label": "High, narrow palate (HPO)", - "match_target": "HP:0001533", - "match_target_label": "Slender build (HPO)", - "score": 0.3055555555555556, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0002705", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001533", - "object_label": null, - "object_source": null, - "ancestor_id": "UPHENO:0034110", - "ancestor_label": "increased height of anatomical entity in independent continuant", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 13.074278328576016, - "jaccard_similarity": 0.3055555555555556, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.998729190804999 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0003179": { - "match_source": "HP:0003179", - "match_source_label": "Protrusio acetabuli (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.34375, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0003179", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0002814", - "ancestor_label": "Abnormality of the lower limb (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.8103334177950625, - "jaccard_similarity": 0.34375, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.638536576450783 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0004970": { - "match_source": "HP:0004970", - "match_source_label": "Ascending tubular aorta aneurysm (HPO)", - "match_target": "HP:0002616", - "match_target_label": "Aortic root aneurysm (HPO)", - "score": 0.9444444444444444, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0004970", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002616", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0012727", - "ancestor_label": "Thoracic aortic aneurysm (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 14.659240829297172, - "jaccard_similarity": 0.9444444444444444, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 3.7208652973472294 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0005059": { - "match_source": "HP:0005059", - "match_source_label": "Arthralgia/arthritis (HPO)", - "match_target": "HP:0001763", - "match_target_label": "Pes planus (HPO)", - "score": 0.391304347826087, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0005059", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0001763", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0011842", - "ancestor_label": "Abnormal skeletal morphology (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.147847546571852, - "jaccard_similarity": 0.391304347826087, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.5510252979063583 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0007800": { - "match_source": "HP:0007800", - "match_source_label": "Increased axial length of the globe (HPO)", - "match_target": "HP:0010749", - "match_target_label": "Blepharochalasis (HPO)", - "score": 0.38095238095238093, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0007800", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0010749", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000315", - "ancestor_label": "Abnormality of the orbital region (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 7.709281511796768, - "jaccard_similarity": 0.38095238095238093, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.7137296015857197 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0012432": { - "match_source": "HP:0012432", - "match_source_label": "Chronic fatigue (HPO)", - "match_target": "HP:0002020", - "match_target_label": "Gastroesophageal reflux (HPO)", - "score": 0.3333333333333333, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0012432", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0002020", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000118", - "ancestor_label": "Phenotypic abnormality (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 4.118848568918744, - "jaccard_similarity": 0.3333333333333333, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.171729287409389 - }, - "score_metric": "jaccard_similarity" - }, - "HP:0100785": { - "match_source": "HP:0100785", - "match_source_label": "Insomnia (HPO)", - "match_target": "HP:0004944", - "match_target_label": "Dilatation of the cerebral artery (HPO)", - "score": 0.23333333333333334, - "match_subsumer": null, - "match_subsumer_label": null, - "similarity": { - "subject_id": "HP:0100785", - "subject_label": null, - "subject_source": null, - "object_id": "HP:0004944", - "object_label": null, - "object_source": null, - "ancestor_id": "HP:0000707", - "ancestor_label": "Abnormality of the nervous system (HPO)", - "ancestor_source": null, - "object_information_content": null, - "subject_information_content": null, - "ancestor_information_content": 6.667976676361555, - "jaccard_similarity": 0.23333333333333334, - "cosine_similarity": null, - "dice_similarity": null, - "phenodigm_score": 1.2473416630916978 - }, - "score_metric": "jaccard_similarity" - } - }, - "average_score": 0.5309539844387191, - "best_score": 1, - "metric": "JaccardSimilarity" - } - } -]