Background: Biomedical Knowledge Graphs

Knowledge graphs (KGs) represent entities (such as genes, diseases, or phenotypes) and the relationships between them; for example that the CFTR gene causes the disease Cystic fibrosis. In the Monarch Initiative KG, this information is stored in a directed, labeled property graph, with properties attached to the entities (nodes) and relationships (edges). The KGX format used by Monarch provides a simple specification for KGs:

  • Nodes must have an id property
  • Nodes must have a category property, as a multi-valued set of category labels
  • Edges must have subject, predicate, and object properties, representing the source, relationship, and destination of the edge.
  • Nodes and edges may have additional properties, and these may be multi-valued.

In the following figure, these required properties are shown in bold:

Small KG visualization showing node and edge properties, with id, category, subject, and object bolded, and other properties such as name present.
Small KG visualization showing node and edge properties, with id, category, subject, and object bolded, and other properties such as name present.

The monarchr package provides access to the cloud-hosted Monarch Initiative KG, and others in KGX format via graph-database and file-based “engines”, with a simple but flexible set of query functions. The example below finds all of the sub-types of Neimann-Pick Disease, and all of the genes associated with those. (You an use the Monarch Initiative website to identify IDs for genes, diseases, phenotypes and more, or search_nodes() described below.)

# MONDO:0001982 Niemann-Pick Disease (13 subtypes)

g <- monarch_engine() |>
  fetch_nodes(query_ids = c("MONDO:0001982")) |>
  expand(predicates = "biolink:subclass_of", direction = "in", transitive = TRUE) |>
  expand(categories = "biolink:Gene")
## Trying to connect to https://neo4j.monarchinitiative.org
## Connected to https://neo4j.monarchinitiative.org
## Fetching; counting matching nodes...  total: 1.
## Fetching; fetched 1 of 1
## Expanding; counting matching edges...  total: 13.
## Expanding; fetched 13 of 13 edges.
## Expanding; counting matching edges...  total: 16.
## Expanding; fetched 16 of 16 edges.
plot(g)
## Using "sugiyama" as default layout

g
Graph with 17 nodes and 29 edges. Expand sections below for details.
Node Data

Showing 17 of 17 nodes:

id pcategory name symbol in_taxon_label description synonym (list) category (list) iri xref (list) namespace provided_by narrow_synonyms exact_synonyms subsets related_synonyms broad_synonyms full_name in_taxon type (list)
“MONDO:0001982” “biolink:Disease” “Niemann-Pick disease” NA NA “A group of inherited, severe metabolic disorders in which sphingomyelin accumulates in lysosomes in cells. The lysosomes normally transport material through and out of the cell.” c(“Niemann-Pick disease with cholesterol esterification block”, “Niemann-Pick disease, subacute juvenile form”, “lipoid histiocytosis”, “lipoid histiocytosis (classical phosphatide)”, “sphingomyelin lipidosis”, “sphingomyelin/cholesterol lipidosis”, “sphingomyelinase deficiency disease”, “type A Niemann-Pick disease”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0001982 c(“DOID:14504”, “EFO:1001380”, “GARD:13334”, “ICD10CM:E75.24”, “MEDGEN:10348”, “MESH:D009542”, “NANDO:2200561”, “NCIT:C61269”, “SCTID:58459009”, “UMLS:C0028064”, “icd11.foundation:398872780”) “MONDO” “phenio_nodes” “type A Niemann-Pick disease” “Niemann-Pick disease with cholesterol esterification block|Niemann-Pick disease, subacute juvenile form|lipoid histiocytosis|lipoid histiocytosis (classical phosphatide)|sphingomyelin lipidosis|sphingomyelin/cholesterol lipidosis|sphingomyelinase deficiency disease” “gard_rare|nord_rare|otar|rare” NA NA NA NA NA
“MONDO:0100464” “biolink:Disease” “acid sphingomyelinase deficiency” NA NA “An autosomal recessive lysosomal disease caused by biallelic loss of function variants in the SMPD1 gene. Clinical symptoms in affected individuals occur along a continuum. At the severe end of the spectrum are individuals historically diagnosed with Niemann-Pick disease type A (the neurovisceral form), which is characterized by hepatosplenomegaly with rapid neurological deterioration leading to death in the first few years of life. At the milder end of the spectrum are individuals historically diagnosed with Niemann-Pick disease type B, a later-onset, chronic visceral form, characterized by progressive visceral organ symptoms including hepatosplenomegaly and pulmonary insufficiency, and survival into adulthood. In addition, some affected individuals present with an intermediate phenotype, Niemann-Pick disease type A/B.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0100464 c(“MEDGEN:1800807”, “UMLS:C5243927”) “MONDO” “phenio_nodes” NA NA “clingen|gard_rare|otar|rare” NA NA NA NA NA
“MONDO:0009756” “biolink:Disease” “Niemann-Pick disease type A” NA NA “Niemann-Pick disease type A is a very severe subtype of Niemann-Pick disease, an autosomal recessive lysosomal disease, and is characterized clinically by onset in infancy or early childhood with failure to thrive, hepatosplenomegaly, and rapidly progressive neurodegenerative disorders.” c(“Niemann-PICK disease, type A”, “Niemann-Pick disease, Intermediate, protracted neurovisceral”, “sphingomyelin lipidosis”, “sphingomyelinase deficiency”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0009756 c(“DOID:0070111”, “GARD:7206”, “ICD10CM:E75.240”, “MEDGEN:78650”, “MESH:D052536”, “NANDO:1200061”, “NANDO:2201206”, “NCIT:C126561”, “OMIM:257200”, “Orphanet:77292”, “SCTID:52165006”, “UMLS:C0268242”, “icd11.foundation:530611243”) “MONDO” “phenio_nodes” NA NA “gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare” “Niemann-PICK disease, type A|Niemann-Pick disease, Intermediate, protracted neurovisceral|sphingomyelin lipidosis|sphingomyelinase deficiency” NA NA NA NA
“MONDO:0018982” “biolink:Disease” “Niemann-Pick disease type C” NA NA “NPC is a complex lipid storage disease mainly characterized by the accumulation of unesterified cholesterol in the late endosomal/lysosomal compartment.” c(“NPC”, “Niemann Pick Disease Type C”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0018982 c(“GARD:7207”, “ICD10CM:E75.242”, “MEDGEN:67399”, “MESH:D052556”, “NANDO:1200063”, “NORD:1509”, “Orphanet:646”, “SCTID:66751000”, “UMLS:C0220756”, “icd11.foundation:812702125”) “MONDO” “phenio_nodes” NA “Niemann Pick Disease Type C” “gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare” NA “NPC” NA NA NA
“MONDO:0009757” “biolink:Disease” “Niemann-Pick disease, type C1” NA NA “Type C Niemann-Pick disease associated with a mutation in the gene NPC1, encoding Niemann-Pick C1 protein.” c(“NPC1”, “Niemann-PICK disease, type C1”, “Niemann-Pick disease type C1”, “Niemann-Pick disease with cholesterol esterification block”, “Niemann-Pick disease without sphingomyelinase deficiency”, “Niemann-Pick disease, chronic neuronopathic form”, “Niemann-Pick disease, nova Scotian type”, “Niemann-Pick disease, subacute juvenile form”, “Niemann-Pick disease, type C”, “Niemann-Pick disease, type C1”, “Niemann-Pick disease, type D”, “neurovisceral storage disease with vertical supranuclear ophthalmoplegia”, “type C1 Niemann-Pick disease”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0009757 c(“DOID:0070113”, “MEDGEN:465922”, “NCIT:C126864”, “OMIM:257220”, “SCTID:18927009”, “SCTID:67855008”, “UMLS:C3179455”) “MONDO” “phenio_nodes” NA “Niemann-Pick disease, type C1|type C1 Niemann-Pick disease” “clingen|gard_rare|rare” “NPC1|Niemann-PICK disease, type C1|Niemann-Pick disease type C1|Niemann-Pick disease with cholesterol esterification block|Niemann-Pick disease without sphingomyelinase deficiency|Niemann-Pick disease, chronic neuronopathic form|Niemann-Pick disease, nova Scotian type|Niemann-Pick disease, subacute juvenile form|Niemann-Pick disease, type C|Niemann-Pick disease, type D|neurovisceral storage disease with vertical supranuclear ophthalmoplegia” NA NA NA NA
“MONDO:0011871” “biolink:Disease” “Niemann-Pick disease type B” NA NA “Niemann-Pick disease type B is a mild subtype of Niemann-Pick disease, an autosomal recessive lysosomal disease, and is characterized clinically by onset in childhood with hepatosplenomegaly, growth retardation, and lung disorders such as infections and dyspnea” c(“Niemann Pick disease type B”, “Niemann-PICK disease, type B”, “Niemann-Pick disease, Intermediate, with visceral involvement and rapid progression”, “Niemann-Pick disease, type E”, “Niemann-Pick disease, type F”, “type B Niemann-Pick disease”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0011871 c(“DOID:0070112”, “GARD:10729”, “ICD10CM:E75.241”, “MEDGEN:78651”, “MESH:D052537”, “NANDO:1200062”, “NANDO:2201207”, “NCIT:C126866”, “OMIM:607616”, “Orphanet:77293”, “SCTID:39390005”, “UMLS:C0268243”, “icd11.foundation:327269975”) “MONDO” “phenio_nodes” NA “type B Niemann-Pick disease” “gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare” “Niemann Pick disease type B|Niemann-PICK disease, type B|Niemann-Pick disease, Intermediate, with visceral involvement and rapid progression|Niemann-Pick disease, type E|Niemann-Pick disease, type F” NA NA NA NA
“MONDO:0011873” “biolink:Disease” “Niemann-Pick disease, type C2” NA NA “Niemann-Pick disease type C2 is a rare metabolic condition that affects many different parts of the body. Although signs and symptoms can develop at any age (infancy through adulthood), most affected people develop features of the condition during childhood. Neimann-Pick disease type C2 may be characterized by ataxia (difficulty coordinating movements), vertical supranuclear gaze palsy (inability to move the eyes vertically), poor muscle tone, hepatosplenomegaly (enlarged liver and spleen), interstitial lung disease, intellectual decline, seizures, speech problems, and difficulty swallowing. Niemann-Pick disease type C2 is caused by changes (mutations) in the NPC2 gene and is inherited in an autosomal recessive manner. There is, unfortunately, no cure for Niemann-Pick disease type C2. Treatment is based on the signs and symptoms present in each person.” c(“NPC2”, “Niemann-PICK disease, type C2”, “Niemann-Pick disease type C2”, “Niemann-Pick disease, type C2”, “type C2 Niemann-Pick disease”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0011873 c(“DOID:0070114”, “GARD:3992”, “MEDGEN:335942”, “MESH:C536119”, “NCIT:C126865”, “OMIM:607625”, “UMLS:C1843366”) “MONDO” “phenio_nodes” NA “NPC2|Niemann-Pick disease, type C2|type C2 Niemann-Pick disease” “clingen|gard_rare|rare” “Niemann-PICK disease, type C2|Niemann-Pick disease type C2” NA NA NA NA
“MONDO:0016306” “biolink:Disease” “Niemann-Pick disease type C, severe perinatal form” NA NA NA NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0016306 c(“GARD:20504”, “MEDGEN:1842349”, “Orphanet:216972”, “UMLS:C5680866”) “MONDO” “phenio_nodes” NA NA “gard_rare|nord_rare|ordo_subtype_of_a_disorder|otar|rare” NA NA NA NA NA
“MONDO:0016307” “biolink:Disease” “Niemann-Pick disease type C, severe early infantile neurologic onset” NA NA NA NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0016307 c(“GARD:20505”, “MEDGEN:1842400”, “Orphanet:216975”, “UMLS:C5680868”, “icd11.foundation:587642791”) “MONDO” “phenio_nodes” NA NA “gard_rare|nord_rare|ordo_subtype_of_a_disorder|otar|rare” NA NA NA NA NA
“MONDO:0016308” “biolink:Disease” “Niemann-Pick disease type C, late infantile neurologic onset” NA NA NA NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0016308 c(“GARD:20506”, “MEDGEN:1843353”, “Orphanet:216978”, “UMLS:C5680867”, “icd11.foundation:2075382821”) “MONDO” “phenio_nodes” NA NA “gard_rare|nord_rare|ordo_subtype_of_a_disorder|otar|rare” NA NA NA NA NA
“MONDO:0016309” “biolink:Disease” “Niemann-Pick disease type C, juvenile neurologic onset” NA NA NA “Niemann-Pick disease type C, classic form” “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0016309 c(“GARD:20507”, “MEDGEN:1842257”, “Orphanet:216981”, “UMLS:C5679813”, “icd11.foundation:2006062681”) “MONDO” “phenio_nodes” NA “Niemann-Pick disease type C, classic form” “gard_rare|nord_rare|ordo_subtype_of_a_disorder|otar|rare” NA NA NA NA NA
“MONDO:0016310” “biolink:Disease” “Niemann-Pick disease type C, adult neurologic onset” NA NA NA NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0016310 c(“GARD:20508”, “MEDGEN:1826101”, “NANDO:1200065”, “NANDO:2201209”, “Orphanet:216986”, “UMLS:C5680869”, “icd11.foundation:77127214”) “MONDO” “phenio_nodes” NA NA “gard_rare|nord_rare|ordo_subtype_of_a_disorder|otar|rare” NA NA NA NA NA
“MONDO:0020384” “biolink:Disease” “Niemann-Pick disease type E” NA NA “Niemann-Pick disease, type E is a poorly defined adult-onset and non-neuronopathic form of Niemann-Pick disease.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0020384 c(“MEDGEN:82781”, “Orphanet:99022”, “SCTID:73399005”, “UMLS:C0268248”) “MONDO” “phenio_nodes” NA NA “gard_rare|otar|rare” NA NA NA NA NA
“MONDO:0850058” “biolink:Disease” “chronic neurovisceral acid sphingomyelinase deficiency” NA NA NA NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0850058 c(“GARD:22456”, “ICD10CM:E75.244”, “MEDGEN:1842316”, “Orphanet:618891”, “UMLS:C5539139”) “MONDO” “phenio_nodes” NA NA “gard_rare|nord_rare|ordo_disorder|orphanet_rare|rare” NA NA NA NA NA
“HGNC:14537” “biolink:Gene” “NPC2” “NPC2” “Homo sapiens” NA c(“HE1”, “NP-C2”, “EDDM1”, “epididymal protein 1”, “Niemann-Pick disease, type C2”) “biolink:Gene” NA c(“ENSEMBL:ENSG00000119655”, “OMIM:601015”) “HGNC” “hgnc_gene_nodes” NA NA NA NA NA “NPC intracellular cholesterol transporter 2” “NCBITaxon:9606” “SO:0001217”
“HGNC:11120” “biolink:Gene” “SMPD1” “SMPD1” “Homo sapiens” NA c(“ASM”, “acid sphingomyelinase”, “Niemann-Pick type A/B”, “sphingomyelin phosphodiesterase 1, acid lysosomal”) “biolink:Gene” NA c(“ENSEMBL:ENSG00000166311”, “OMIM:607608”) “HGNC” “hgnc_gene_nodes” NA NA NA NA NA “sphingomyelin phosphodiesterase 1” “NCBITaxon:9606” “SO:0001217”
“HGNC:7897” “biolink:Gene” “NPC1” “NPC1” “Homo sapiens” NA c(“SLC65A1”, “Niemann-Pick disease, type C1”) “biolink:Gene” NA c(“ENSEMBL:ENSG00000141458”, “OMIM:607623”) “HGNC” “hgnc_gene_nodes” NA NA NA NA NA “NPC intracellular cholesterol transporter 1” “NCBITaxon:9606” “SO:0001217”
Edge Data

Showing 29 of 29 edges:

from to subject predicate object primary_knowledge_source agent_type knowledge_level aggregator_knowledge_source provided_by id category (list) original_object original_subject
3 2 “MONDO:0009756” “biolink:subclass_of” “MONDO:0100464” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:36460df7-c6bf-4dca-af59-2fcb3ba87d6d “biolink:Association” NA NA
5 4 “MONDO:0009757” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:6773dba8-67ae-4350-a717-a414779df679 “biolink:Association” NA NA
6 2 “MONDO:0011871” “biolink:subclass_of” “MONDO:0100464” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:2774cdd1-e13b-4fad-b7dd-c42cad0dc019 “biolink:Association” NA NA
7 4 “MONDO:0011873” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:ce103bff-83b2-435d-a6ad-47a68f41467b “biolink:Association” NA NA
8 4 “MONDO:0016306” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:bb45c5f1-ba78-44c9-a9fe-98c1ef2a5bd7 “biolink:Association” NA NA
9 4 “MONDO:0016307” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:334aa59a-7d23-4764-ad20-b7ba5d79f950 “biolink:Association” NA NA
10 4 “MONDO:0016308” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:33eedac8-66f3-4f1c-aba9-f25ed369e155 “biolink:Association” NA NA
11 4 “MONDO:0016309” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:e781cf11-b0b0-4ff9-9d56-7b7f81f535f2 “biolink:Association” NA NA
12 4 “MONDO:0016310” “biolink:subclass_of” “MONDO:0018982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:54af4ae9-21e4-48d7-9420-5c540719c2f9 “biolink:Association” NA NA
4 1 “MONDO:0018982” “biolink:subclass_of” “MONDO:0001982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:c0c2903c-d702-44ac-9456-6f1383e5a25a “biolink:Association” NA NA
13 1 “MONDO:0020384” “biolink:subclass_of” “MONDO:0001982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:87b140c9-d6c9-4401-a93f-0f7b9bc0e4c5 “biolink:Association” NA NA
2 1 “MONDO:0100464” “biolink:subclass_of” “MONDO:0001982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:374ab4c1-1277-4f3b-996a-5db04577e237 “biolink:Association” NA NA
14 1 “MONDO:0850058” “biolink:subclass_of” “MONDO:0001982” “infores:mondo” “not_provided” “not_provided” “infores:monarchinitiative|infores:phenio” “phenio_edges” urn:uuid:d849b58c-a298-4bfc-842d-0f9b2a88208b “biolink:Association” NA NA
15 7 “HGNC:14537” “biolink:causes” “MONDO:0011873” “infores:omim” “manual_agent” “knowledge_assertion” “infores:monarchinitiative|infores:medgen” “hpoa_gene_to_disease_edges” “uuid:0eae150e-198e-11f0-be82-6045bdb3d4c0” “biolink:CausalGeneToDiseaseAssociation” “OMIM:607625” “NCBIGene:10577”
16 6 “HGNC:11120” “biolink:causes” “MONDO:0011871” “infores:omim” “manual_agent” “knowledge_assertion” “infores:monarchinitiative|infores:medgen” “hpoa_gene_to_disease_edges” “uuid:0eae1529-198e-11f0-be82-6045bdb3d4c0” “biolink:CausalGeneToDiseaseAssociation” “OMIM:607616” “NCBIGene:6609”
17 5 “HGNC:7897” “biolink:causes” “MONDO:0009757” “infores:omim” “manual_agent” “knowledge_assertion” “infores:monarchinitiative|infores:medgen” “hpoa_gene_to_disease_edges” “uuid:0ec43c21-198e-11f0-be82-6045bdb3d4c0” “biolink:CausalGeneToDiseaseAssociation” “OMIM:257220” “NCBIGene:4864”
16 3 “HGNC:11120” “biolink:causes” “MONDO:0009756” “infores:omim” “manual_agent” “knowledge_assertion” “infores:monarchinitiative|infores:medgen” “hpoa_gene_to_disease_edges” “uuid:0ec43cb3-198e-11f0-be82-6045bdb3d4c0” “biolink:CausalGeneToDiseaseAssociation” “OMIM:257200” “NCBIGene:6609”
15 8 “HGNC:14537” “biolink:gene_associated_with_condition” “MONDO:0016306” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef0649e-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216972” “NCBIGene:10577”
17 8 “HGNC:7897” “biolink:gene_associated_with_condition” “MONDO:0016306” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef0649f-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216972” “NCBIGene:4864”
15 9 “HGNC:14537” “biolink:gene_associated_with_condition” “MONDO:0016307” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064a0-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216975” “NCBIGene:10577”
17 9 “HGNC:7897” “biolink:gene_associated_with_condition” “MONDO:0016307” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064a1-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216975” “NCBIGene:4864”
15 10 “HGNC:14537” “biolink:gene_associated_with_condition” “MONDO:0016308” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064a4-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216978” “NCBIGene:10577”
17 10 “HGNC:7897” “biolink:gene_associated_with_condition” “MONDO:0016308” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064a5-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216978” “NCBIGene:4864”
15 12 “HGNC:14537” “biolink:gene_associated_with_condition” “MONDO:0016310” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064e6-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216986” “NCBIGene:10577”
17 12 “HGNC:7897” “biolink:gene_associated_with_condition” “MONDO:0016310” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064e7-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216986” “NCBIGene:4864”
15 11 “HGNC:14537” “biolink:gene_associated_with_condition” “MONDO:0016309” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064f2-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216981” “NCBIGene:10577”
17 11 “HGNC:7897” “biolink:gene_associated_with_condition” “MONDO:0016309” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef064f3-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:216981” “NCBIGene:4864”
16 6 “HGNC:11120” “biolink:gene_associated_with_condition” “MONDO:0011871” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef070f6-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:77293” “NCBIGene:6609”
16 3 “HGNC:11120” “biolink:gene_associated_with_condition” “MONDO:0009756” “infores:orphanet” “manual_agent” “knowledge_assertion” “infores:monarchinitiative” “hpoa_gene_to_disease_edges” “uuid:0ef070f7-198e-11f0-be82-6045bdb3d4c0” “biolink:CorrelatedGeneToDiseaseAssociation” “Orphanet:77292” “NCBIGene:6609”


Backed by tidygraph and igraph, monarchr is part of a larger ecosystem of graph analyses in R:

Engines

Two kinds of engines are supported, providing largely the same functionality: one supporting access to Neo4j graph databases, and another supporting file-based access to TSV-formatted .tar.gz KGs hosted at kghub.io. Regardless of source, KGs must conform to the KGX specification.

The most accessible engine provided by monarchr is the monarch_engine(), designed specifically to access the cloud-hosted Monarch Initiative KG.

monarch <- monarch_engine()

Using another Neo4j database via neo4j_engine() is as simple as specifying a Neo4j Bolt endpoint, and username and password if required. This may be used to host your own Neo4j database for efficient KG access, based on the Monarch Neo4j docker deployment.

neodb <- neo4j_engine("http://localhost:7687", username = "user", password = "pass")

Finally, the file_engine() provides KG access to KGX-formatted, .tar.gz files containing tab-separated *_nodes.tsv and *_edges.tsv files. The package comes bundled with a small example KG providing information about Ehlers-Danlos and Marfan syndrome for demonstration purposes. You can also provide a local file path, or a URL to a remote file, which will be downloaded to the current working directory. (This example graph can also be loaded with data(eds_marfan_kg).)

filename <- system.file("extdata", "eds_marfan_kg.tar.gz", package = "monarchr")
# filename <- "https://kghub.io/kg-obo/mondo/2024-03-04/mondo_kgx_tsv.tar.gz"

eds_marfan_kg <- file_engine(filename)

Fetching Nodes

Engines support a fetch_nodes() function for pulling nodes by specified criteria. It returns a tidygraph-based graph, but only nodes, not any edges that may connect them. These can be specified as a set of IDs:

g <- monarch |>
  fetch_nodes(query_ids = c("MONDO:0009061", "HGNC:1884"))

g
Graph with 2 nodes and 0 edges. Expand sections below for details.
Node Data

Showing 2 of 2 nodes:

id pcategory name symbol in_taxon_label description synonym (list) category (list) full_name xref (list) in_taxon namespace provided_by type (list) iri exact_synonyms subsets
“HGNC:1884” “biolink:Gene” “CFTR” “CFTR” “Homo sapiens” NA c(“MRP7”, “ABC35”, “TNR-CFTR”, “dJ760C5.1”, “CFTR/MRP”, “ATP-binding cassette sub-family C, member 7”, “CF”, “ABCC7”, “cystic fibrosis transmembrane conductance regulator, ATP-binding cassette (sub-family C, member 7)”) “biolink:Gene” “CF transmembrane conductance regulator” c(“ENSEMBL:ENSG00000001626”, “OMIM:602421”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217” NA NA NA
“MONDO:0009061” “biolink:Disease” “cystic fibrosis” NA NA “Cystic fibrosis (CF) is a genetic disorder characterized by the production of sweat with a high salt content and mucus secretions with an abnormal viscosity.” c(“CF”, “cystic fibrosis”, “cystic fibrosis lung disease, modifier of”, “mucoviscidosis”, “pseudomonas aeruginosa, susceptibility to chronic infection by, in cystic fibrosis”) “biolink:Disease” NA c(“DOID:1485”, “GARD:6233”, “ICD10CM:E84”, “ICD9:277.0”, “MEDGEN:41393”, “MESH:D003550”, “MedDRA:10011762”, “NANDO:1200922”, “NANDO:1201021”, “NANDO:2100035”, “NANDO:2200205”, “NCIT:C2975”, “NORD:1026”, “OMIM:219700”, “Orphanet:586”, “SCTID:190905008”, “UMLS:C0010674”, “icd11.foundation:514403112”) NA “MONDO” “phenio_nodes” NA http://purl.obolibrary.org/obo/MONDO_0009061 “CF|cystic fibrosis|cystic fibrosis lung disease, modifier of|mucoviscidosis|pseudomonas aeruginosa, susceptibility to chronic infection by, in cystic fibrosis” “gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare”
Edge Data

Showing 0 of 0 edges:


Nodes can also be fetched in bulk. For example, we can fetch all of the nodes where in_taxon_label equals "Homo sapiens". For demonstration purposes, we’ll limit the number of results to 20 (ordered by node ID).

h_sapiens_nodes <- monarch |>
  fetch_nodes(in_taxon_label == "Homo sapiens", limit = 20)

h_sapiens_nodes
Graph with 20 nodes and 0 edges. Expand sections below for details.
Node Data

Showing 20 of 20 nodes:

id pcategory name in_taxon_label category (list) xref (list) in_taxon has_gene namespace provided_by
“CAID:CA10549330” “biolink:SequenceVariant” “NM_001142805.2:c.808G>A” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA10549330” “NCBITaxon:9606” “HGNC:11055” “CAID” “clingen_variant_nodes”
“CAID:CA10549339” “biolink:SequenceVariant” “NM_001142805.2:c.880A>C” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA10549339” “NCBITaxon:9606” “HGNC:11055” “CAID” “clingen_variant_nodes”
“CAID:CA10549367” “biolink:SequenceVariant” “NM_001142805.2:c.942C>G” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA10549367” “NCBITaxon:9606” “HGNC:11055” “CAID” “clingen_variant_nodes”
“CAID:CA10549369” “biolink:SequenceVariant” “NM_001142805.2:c.952G>A” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA10549369” “NCBITaxon:9606” “HGNC:11055” “CAID” “clingen_variant_nodes”
“CAID:CA10602335” “biolink:SequenceVariant” “NM_000277.1:c.971T>A” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA10602335” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139532270” “biolink:SequenceVariant” “NM_001270448.2:c.1573del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532270” “NCBITaxon:9606” “HGNC:92” “CAID” “clingen_variant_nodes”
“CAID:CA1139532272” “biolink:SequenceVariant” “NM_001270448.2:c.1216_1220del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532272” “NCBITaxon:9606” “HGNC:92” “CAID” “clingen_variant_nodes”
“CAID:CA1139532470” “biolink:SequenceVariant” “NM_001354304.2:c.463del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532470” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139532474” “biolink:SequenceVariant” “NM_000138.5:c.2034_2052del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532474” “NCBITaxon:9606” “HGNC:3603” “CAID” “clingen_variant_nodes”
“CAID:CA1139532533” “biolink:SequenceVariant” “NM_001354304.2:c.912+16T>A” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532533” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139532534” “biolink:SequenceVariant” “NM_001354304.2:c.1200-3T>G” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532534” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139532543” “biolink:SequenceVariant” “NM_001354304.2:c.706+5G>A” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532543” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139532590” “biolink:SequenceVariant” “NM_001354304.2:c.543_545del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532590” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139532728” “biolink:SequenceVariant” “NM_000261.2:c.1187_1189dup” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139532728” “NCBITaxon:9606” “HGNC:7610” “CAID” “clingen_variant_nodes”
“CAID:CA1139533026” “biolink:SequenceVariant” “NM_001354304.2:c.843-6T>C” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139533026” “NCBITaxon:9606” “HGNC:8582” “CAID” “clingen_variant_nodes”
“CAID:CA1139533037” “biolink:SequenceVariant” “NM_001270448.2:c.769_770insT” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139533037” “NCBITaxon:9606” “HGNC:92” “CAID” “clingen_variant_nodes”
“CAID:CA1139533052” “biolink:SequenceVariant” “NM_001318054.2:c.-145_-144delinsTT” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139533052” “NCBITaxon:9606” “HGNC:5173” “CAID” “clingen_variant_nodes”
“CAID:CA1139655402” “biolink:SequenceVariant” “NM_175914.5:c.152dup” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139655402” “NCBITaxon:9606” “HGNC:5024” “CAID” “clingen_variant_nodes”
“CAID:CA1139655403” “biolink:SequenceVariant” “NM_175914.5:c.185del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139655403” “NCBITaxon:9606” “HGNC:5024” “CAID” “clingen_variant_nodes”
“CAID:CA1139655404” “biolink:SequenceVariant” “NM_175914.5:c.256_257del” “Homo sapiens” “biolink:SequenceVariant” “CAID:CA1139655404” “NCBITaxon:9606” “HGNC:5024” “CAID” “clingen_variant_nodes”
Edge Data

Showing 0 of 0 edges:


While the syntax does not support all R expressions (for compatibility with database-backed engines), standard comparisons ==, !=, <=, >=, <, and > are, as are logical operators &, |, and !, and grouping with ()s. Since many node properties are multi-valued, we provide a special %in_list% operator to allow exact match against entries. Here we fetch all the Homo sapiens Genes, using %in_list% to account for the multi-valued nature of node category.1

human_genes <- monarch |>
  fetch_nodes(in_taxon_label == "Homo sapiens" & "biolink:Gene" %in_list% category,
              limit = 20)

human_genes
Graph with 20 nodes and 0 edges. Expand sections below for details.
Node Data

Showing 20 of 20 nodes:

id pcategory name symbol in_taxon_label synonym (list) category (list) full_name xref (list) in_taxon namespace provided_by type (list)
“HGNC:100” “biolink:Gene” “ASIC1” “ASIC1” “Homo sapiens” c(“BNaC2”, “hBNaC2”, “ACCN2”, “amiloride-sensitive cation channel 2, neuronal”, “acid-sensing (proton-gated) ion channel 1”, “acid sensing (proton gated) ion channel 1”) “biolink:Gene” “acid sensing ion channel subunit 1” c(“ENSEMBL:ENSG00000110881”, “OMIM:602866”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10000” “biolink:Gene” “RGS4” “RGS4” “Homo sapiens” c(“SCZD9”, “regulator of G-protein signalling 4”, “schizophrenia disorder 9”, “regulator of G-protein signaling 4”) “biolink:Gene” “regulator of G protein signaling 4” c(“ENSEMBL:ENSG00000117152”, “OMIM:602516”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10001” “biolink:Gene” “RGS5” “RGS5” “Homo sapiens” c(“regulator of G-protein signalling 5”, “regulator of G-protein signaling 5”) “biolink:Gene” “regulator of G protein signaling 5” c(“ENSEMBL:ENSG00000143248”, “OMIM:603276”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10002” “biolink:Gene” “RGS6” “RGS6” “Homo sapiens” c(“regulator of G-protein signalling 6”, “regulator of G-protein signaling 6”) “biolink:Gene” “regulator of G protein signaling 6” c(“ENSEMBL:ENSG00000182732”, “OMIM:603894”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10003” “biolink:Gene” “RGS7” “RGS7” “Homo sapiens” c(“regulator of G-protein signalling 7”, “regulator of G-protein signaling 7”) “biolink:Gene” “regulator of G protein signaling 7” c(“ENSEMBL:ENSG00000182901”, “OMIM:602517”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10004” “biolink:Gene” “RGS9” “RGS9” “Homo sapiens” c(“PERRS”, “RGS9L”, “MGC26458”, “MGC111763”, “regulator of G protein signalling 9”, “regulator of G protein signalling 9L”, “regulator of G-protein signaling 9L”, “regulator of G-protein signalling 9”, “regulator of G-protein signaling 9”) “biolink:Gene” “regulator of G protein signaling 9” c(“ENSEMBL:ENSG00000108370”, “OMIM:604067”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10006” “biolink:Gene” “RHAG” “RHAG” “Homo sapiens” c(“RH50A”, “CD241”, “SLC42A1”, “Ammonium transporter Rh type A”, “Rhesus blood group-associated glycoprotein”) “biolink:Gene” “Rh associated glycoprotein” c(“ENSEMBL:ENSG00000112077”, “OMIM:180297”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10007” “biolink:Gene” “RHBDL1” “RHBDL1” “Homo sapiens” c(“RRP”, “RHBDL”, “rhomboid (veinlet, Drosophila)-like”, “rhomboid, veinlet-like 1 (Drosophila)”) “biolink:Gene” “rhomboid like 1” c(“ENSEMBL:ENSG00000103269”, “OMIM:603264”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10008” “biolink:Gene” “RHCE” “RHCE” “Homo sapiens” c(“CD240CE”, “SLC42A4”, “RH”, “Rhesus blood group, CcEe antigens”) “biolink:Gene” “Rh blood group CcEe antigens” c(“ENSEMBL:ENSG00000188672”, “OMIM:111700”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10009” “biolink:Gene” “RHD” “RHD” “Homo sapiens” c(“Rh30a”, “Rh4”, “RhPI”, “RhII”, “DIIIc”, “CD240D”, “SLC42A5”, “RH”, “Rhesus blood group, D antigen”) “biolink:Gene” “Rh blood group D antigen” c(“ENSEMBL:ENSG00000187010”, “OMIM:111680”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:1001” “biolink:Gene” “BCL6” “BCL6” “Homo sapiens” c(“ZBTB27”, “LAZ3”, “BCL5”, “BCL6A”, “ZNF51”, “zinc finger protein 51”, “B cell CLL/lymphoma 6”, “BCL6, transcription repressor”) “biolink:Gene” “BCL6 transcription repressor” c(“ENSEMBL:ENSG00000113916”, “OMIM:109565”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10010” “biolink:Gene” “RHEBP1” “RHEBP1” “Homo sapiens” c(“RHEB”, “RHEB1”, “Ras homolog enriched in brain 1”, “Ras-homolog enriched in brain pseudogene 1”) “biolink:Gene” “RHEB pseudogene 1” “ENSEMBL:ENSG00000229927” “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0000336”
“HGNC:10011” “biolink:Gene” “RHEB” “RHEB” “Homo sapiens” c(“RHEB2”, “Ras homolog enriched in brain 2”, “Ras homolog enriched in brain”) “biolink:Gene” “Ras homolog, mTORC1 binding” c(“ENSEMBL:ENSG00000106615”, “OMIM:601293”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10012” “biolink:Gene” “RHO” “RHO” “Homo sapiens” c(“OPN2”, “CSNBAD1”, “opsin 2, rod pigment”, “RP4”, “retinitis pigmentosa 4, autosomal dominant”) “biolink:Gene” “rhodopsin” c(“ENSEMBL:ENSG00000163914”, “OMIM:180380”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10013” “biolink:Gene” “GRK1” “GRK1” “Homo sapiens” c(“GPRK1”, “RK”, “RHOK”, “rhodopsin kinase”) “biolink:Gene” “G protein-coupled receptor kinase 1” c(“ENSEMBL:ENSG00000185974”, “OMIM:180381”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10017” “biolink:Gene” “RIT2” “RIT2” “Homo sapiens” c(“RIBA”, “RIN”, “Ric (Drosophila)-like, expressed in neurons”) “biolink:Gene” “Ras like without CAAX 2” c(“ENSEMBL:ENSG00000152214”, “OMIM:609592”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10018” “biolink:Gene” “RING1” “RING1” “Homo sapiens” “RNF1” “biolink:Gene” “ring finger protein 1” c(“ENSEMBL:ENSG00000204227”, “OMIM:602045”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10019” “biolink:Gene” “RIPK1” “RIPK1” “Homo sapiens” c(“RIP”, “RIP1”, “RIP-1”, “receptor-interacting protein kinase 1”, “receptor (TNFRSF)-interacting serine-threonine kinase 1”) “biolink:Gene” “receptor interacting serine/threonine kinase 1” c(“ENSEMBL:ENSG00000137275”, “OMIM:603453”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:1002” “biolink:Gene” “BCL6B” “BCL6B” “Homo sapiens” c(“ZBTB28”, “BAZF”, “ZNF62”, “zinc finger protein 62”, “B-cell CLL/lymphoma 6, member B (zinc finger protein)”, “B-cell CLL/lymphoma 6, member B”, “B cell CLL/lymphoma 6B”, “BCL6B, transcription repressor”) “biolink:Gene” “BCL6B transcription repressor” c(“ENSEMBL:ENSG00000161940”, “OMIM:608992”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
“HGNC:10020” “biolink:Gene” “RIPK2” “RIPK2” “Homo sapiens” c(“RICK”, “RIP2”, “CARDIAK”, “CARD3”, “receptor-interacting serine-threonine kinase 2”) “biolink:Gene” “receptor interacting serine/threonine kinase 2” c(“ENSEMBL:ENSG00000104312”, “OMIM:603455”) “NCBITaxon:9606” “HGNC” “hgnc_gene_nodes” “SO:0001217”
Edge Data

Showing 0 of 0 edges:


A convenience %~% operator provides regular-expression matching against node properties (but not multi-valued ones like category).

fibrosis_disease_matches <- monarch |>
  fetch_nodes(description %~% ".*[fF]ibrosis.*" & "biolink:Disease" %in_list% category,
              limit = 20)

fibrosis_disease_matches
Graph with 20 nodes and 0 edges. Expand sections below for details.
Node Data

Showing 20 of 20 nodes:

id pcategory name description synonym (list) category (list) iri xref (list) namespace provided_by subsets exact_synonyms related_synonyms broad_synonyms
“MONDO:0000494” “biolink:Disease” “renal fibrosis” “A final common manifestation of a wide variety of chronic kidney diseases characterized by glomerulosclerosis and tubulointerstitial fibrosis.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0000494 c(“DOID:0050855”, “EFO:1001517”, “MEDGEN:508798”, “SCTID:197660000”, “UMLS:C0151650”) “MONDO” “phenio_nodes” “gard_rare|otar|rare” NA NA NA
“MONDO:0001003” “biolink:Disease” “pneumoconiosis due to talc” “Pneumoconiosis caused by exposure to talc. It is characterized by fibrosis and granulomatous changes in the lung parenchyma. Chest x-rays reveal diffuse lung opacities and pleural abnormalities.” “talc pneumoconiosis” “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0001003 c(“DOID:10329”, “ICD9:502”, “MEDGEN:65961”, “NCIT:C27026”, “SCTID:73144008”, “UMLS:C0238377”) “MONDO” “phenio_nodes” “gard_rare|rare” “talc pneumoconiosis” NA NA
“MONDO:0001540” “biolink:Disease” “bagassosis” “An occupational lung disorder caused by inhalation of bagasse dust. In the acute phase, it manifests as cough, dyspnea, fever, chills, and weakness. Chronic exposure may lead to interstitial lung fibrosis.” c(“bagasse extrinsic allergic alveolitis”, “bagasse workers lung”, “extrinsic allergic alveolitis from bagasse”, “sugar cane worker pneumonitis”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0001540 c(“DOID:12522”, “ICD10CM:J67.1”, “ICD9:495.1”, “MEDGEN:2539”, “MESH:D011009”, “NCIT:C34409”, “SCTID:67242002”, “UMLS:C0004681”, “icd11.foundation:1123061945”) “MONDO” “phenio_nodes” “gard_rare|nord_rare|rare” “bagasse extrinsic allergic alveolitis|bagasse workers lung|extrinsic allergic alveolitis from bagasse|sugar cane worker pneumonitis” NA NA
“MONDO:0001684” “biolink:Disease” “exocrine pancreatic insufficiency” “Inability of the exocrine pancreas to produce and secrete an adequate amount of digestive enzymes into the small intestine. Patients present with symptoms of malabsorption syndrome, abdominal discomfort, and bloating. Causes include chronic pancreatitis, cystic fibrosis, and autoimmune disorders.” c(“exocrine pancreas insufficiency”, “exocrine pancreatic insufficiency”, “pancreatic insufficiency”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0001684 c(“DOID:13316”, “ICD10CM:K86.81”, “ICD9:577.8”, “MEDGEN:75647”, “MESH:D010188”, “NCIT:C84316”, “SCTID:47367009”, “UMLS:C0267963”) “MONDO” “phenio_nodes” “otar” “exocrine pancreatic insufficiency” “exocrine pancreas insufficiency|pancreatic insufficiency” NA
“MONDO:0002200” “biolink:Disease” “eccrine mixed tumor of skin” “A rare, benign, slow-growing and painless neoplasm of sweat glands. It usually arises in the head and neck. It is characterized by the presence of a mesenchymal chondroid stroma, fibrosis, and epithelial structures.” c(“benign mixed tumor of skin”, “benign mixed tumor of skin (chondroid syringoma)”, “benign mixed tumor of the skin”, “benign mixed tumor of the skin (chondroid syringoma)”, “benign mixed tumour of skin”, “benign mixed tumour of skin (chondroid syringoma)”, “benign mixed tumour of the skin”, “benign mixed tumour of the skin (chondroid syringoma)”, “chondroid syringoma”, “eccrine mixed tumor”, “eccrine mixed tumor (morphologic abnormality)”, “eccrine mixed tumour”, “eccrine mixed tumour (morphologic abnormality)”, “eccrine sweat gland mixed neoplasm”, “mixed eccrine neoplasm of the skin”, “mixed tumor of the skin (chondroid syringoma)”, “mixed tumour of the skin (chondroid syringoma)”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0002200 c(“DOID:2079”, “EFO:1000385”, “MEDGEN:91074”, “NCIT:C4474”, “SCTID:254720009”, “UMLS:C0346026”) “MONDO” “phenio_nodes” “otar” “benign mixed tumor of skin|benign mixed tumor of skin (chondroid syringoma)|benign mixed tumor of the skin|benign mixed tumor of the skin (chondroid syringoma)|benign mixed tumour of skin|benign mixed tumour of skin (chondroid syringoma)|benign mixed tumour of the skin|benign mixed tumour of the skin (chondroid syringoma)|chondroid syringoma|eccrine mixed tumor|eccrine mixed tumor (morphologic abnormality)|eccrine mixed tumour|eccrine mixed tumour (morphologic abnormality)|eccrine sweat gland mixed neoplasm|mixed eccrine neoplasm of the skin|mixed tumor of the skin (chondroid syringoma)|mixed tumour of the skin (chondroid syringoma)” NA NA
“MONDO:0003246” “biolink:Disease” “sclerosing hepatic carcinoma” “An uncommon type of hepatocelluar carcinoma, morphologically characterized by significant fibrosis around the sinusoid-like spaces and atrophy of the tumor trabeculae.” c(“scirrhous hepatocellular cancer”, “scirrhous hepatocellular carcinoma”, “sclerosing hepatic carcinoma”, “sclerosing hepatocellular carcinoma”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0003246 c(“DOID:5026”, “ICDO:8172/3”, “MEDGEN:266088”, “NCIT:C27388”, “UMLS:C1266018”) “MONDO” “phenio_nodes” “gard_rare|rare” “scirrhous hepatocellular cancer|scirrhous hepatocellular carcinoma|sclerosing hepatic carcinoma|sclerosing hepatocellular carcinoma” NA NA
“MONDO:0003643” “biolink:Disease” “giant hemangioma” “A cavernous hemangioma characterized by the presence of hylanized vascular channels and is often associated with the presence of calcifications, fibrosis, and hemorrhage.” “giant hemangioma” “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0003643 c(“DOID:5774”, “MEDGEN:272670”, “NCIT:C27777”, “UMLS:C1333817”) “MONDO” “phenio_nodes” “gard_rare|rare” “giant hemangioma” NA NA
“MONDO:0003701” “biolink:Disease” “thyroid gland diffuse sclerosing papillary carcinoma” “A morphologic variant of papillary carcinoma of the thyroid gland that more often affects young patients and commonly metastasizing to the lungs. It is characterized by a diffuse infiltration of the thyroid gland by malignant follicular cells, squamous metaplasia, stromal fibrosis, and lymphocytic infiltration.” c(“nonencapsulated sclerosing adenocarcinoma”, “nonencapsulated sclerosing carcinoma”, “nonencapsulated sclerosing neoplasm”, “nonencapsulated sclerosing papillary thyroid carcinoma”, “nonencapsulated sclerosing tumor”, “nonencapsulated sclerosing tumour”, “papillary carcinoma, diffuse sclerosing”, “thyroid gland diffuse sclerosing papillary carcinoma”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0003701 c(“DOID:5914”, “ICDO:8350/3”, “MEDGEN:87218”, “NCIT:C7427”, “UMLS:C0334330”) “MONDO” “phenio_nodes” “gard_rare|rare” “nonencapsulated sclerosing adenocarcinoma|nonencapsulated sclerosing carcinoma|nonencapsulated sclerosing neoplasm|nonencapsulated sclerosing papillary thyroid carcinoma|nonencapsulated sclerosing tumor|nonencapsulated sclerosing tumour|papillary carcinoma, diffuse sclerosing|thyroid gland diffuse sclerosing papillary carcinoma” NA NA
“MONDO:0004288” “biolink:Disease” “scirrhous breast carcinoma” “An infiltrating ductal breast carcinoma associated with stromal fibrosis.” c(“breast scirrhous carcinoma”, “infiltrating carcinoma of breast with fibrotic Stroma”, “infiltrating carcinoma of the breast with fibrotic Stroma”, “scirrhous breast carcinoma”, “scirrhous carcinoma of breast”, “scirrhous carcinoma of the breast”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0004288 c(“DOID:7578”, “ICDO:8514/3”, “MEDGEN:87541”, “NCIT:C7362”, “SCTID:254839007”, “UMLS:C0346151”) “MONDO” “phenio_nodes” NA “infiltrating carcinoma of breast with fibrotic Stroma|infiltrating carcinoma of the breast with fibrotic Stroma|scirrhous breast carcinoma|scirrhous carcinoma of breast|scirrhous carcinoma of the breast” “breast scirrhous carcinoma” NA
“MONDO:0004463” “biolink:Disease” “cellular phase chronic idiopathic myelofibrosis” “Primary myelofibrosis characterized by bone marrow hypercellularity and the presence of atypical megakaryocytes. There is no increase in the percentage of myeloblasts and no significant increase in reticulin or collagen fibrosis in the bone marrow.” c(“PMFPES”, “Prefibrotic/Early Primary myelofibrosis”, “chronic idiopathic myelofibrosis, Prefibrotic stage”, “chronic idiopathic myelofibrosis, cellular phase”, “primary myelofibrosis, Prefibrotic stage”, “primary myelofibrosis, Prefibrotic/early stage”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0004463 c(“DOID:8106”, “MEDGEN:275741”, “NCIT:C41237”, “ONCOTREE:PMFPES”, “UMLS:C1516553”) “MONDO” “phenio_nodes” “gard_rare|rare” “Prefibrotic/Early Primary myelofibrosis|chronic idiopathic myelofibrosis, Prefibrotic stage|chronic idiopathic myelofibrosis, cellular phase|primary myelofibrosis, Prefibrotic stage|primary myelofibrosis, Prefibrotic/early stage” “PMFPES” NA
“MONDO:0004633” “biolink:Disease” “Hodgkin’s lymphoma, mixed cellularity” “A subtype of classical Hodgkin lymphoma with scattered Reed-Sternberg and Hodgkin cells in a diffuse or vaguely nodular mixed inflammatory background without nodular sclerosing fibrosis. (WHO, 2008)” c(“Hodgkin lymphoma, mixed cellularity”, “Hodgkin’s disease mixed cellularity”, “Hodgkin’s disease, mixed cellularity”, “Hodgkin’s disease, mixed cellularity of unspecified site”, “Hodgkin’s lymphoma mixed cellularity”, “MCCHL”, “MCHL”, “Mixed cellularity Classic Hodgkin lymphoma”, “classic Hodgkin lymphoma, mixed cellularity type”, “mixed cellularity Hodgkin lymphoma”, “mixed cellularity Hodgkin’s disease”, “mixed cellularity Hodgkin’s lymphoma”, “mixed cellularity classical Hodgkin lymphoma”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0004633 c(“DOID:8654”, “EFO:1002031”, “GARD:19592”, “ICD10CM:C81.2”, “ICD9:201.6”, “ICDO:9652/3”, “MEDGEN:57521”, “NCIT:C3517”, “ONCOTREE:MCCHL”, “Orphanet:98844”, “SCTID:118609008”, “UMLS:C0152266”, “icd11.foundation:39515681”) “MONDO” “phenio_nodes” “gard_rare|nord_rare|ordo_histopathological_subtype|ordo_subtype_of_a_disorder|otar|rare” “Hodgkin lymphoma, mixed cellularity|Hodgkin’s disease mixed cellularity|Hodgkin’s disease, mixed cellularity of unspecified site|Hodgkin’s lymphoma mixed cellularity|MCCHL|MCHL|Mixed cellularity Classic Hodgkin lymphoma|classic Hodgkin lymphoma, mixed cellularity type|mixed cellularity Hodgkin lymphoma|mixed cellularity Hodgkin’s disease|mixed cellularity Hodgkin’s lymphoma|mixed cellularity classical Hodgkin lymphoma” “Hodgkin’s disease, mixed cellularity” NA
“MONDO:0004769” “biolink:Disease” “orbital pseudotumor” “A nonspecific tumor-like inflammatory lesion in the orbit of the eye. It is usually composed of mature lymphocytes; plasma cells; macrophages; leukocytes with varying degrees of fibrosis. Orbital pseudotumors are often associated with inflammation of the extraocular muscles (orbital myositis) or inflammation of the lacrimal glands (dacryoadenitis).” c(“granuloma, plasma cell, orbital”, “inflammatory pseudotumor of orbit”, “inflammatory pseudotumor of orbit proper”, “inflammatory pseudotumor, orbital”, “inflammatory pseudotumors, orbital”, “orbital granuloma, plasma cell”, “orbital inflammatory pseudotumor”, “orbital inflammatory pseudotumors”, “orbital myositis”, “orbital plasma cell granuloma”, “orbital pseudotumors”, “plasma cell granuloma, orbital”, “pseudotumor of orbit”, “pseudotumor, inflammatory, orbital”, “pseudotumor, orbital”, “pseudotumor, orbital inflammatory”, “pseudotumors, orbital”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0004769 c(“DOID:9369”, “MEDGEN:43140”, “MESH:D016727”, “SCTID:72789009”, “UMLS:C0085270”) “MONDO” “phenio_nodes” NA “granuloma, plasma cell, orbital|inflammatory pseudotumor of orbit|inflammatory pseudotumor of orbit proper|inflammatory pseudotumor, orbital|inflammatory pseudotumors, orbital|orbital granuloma, plasma cell|orbital inflammatory pseudotumor|orbital inflammatory pseudotumors|orbital plasma cell granuloma|orbital pseudotumors|plasma cell granuloma, orbital|pseudotumor of orbit|pseudotumor, inflammatory, orbital|pseudotumor, orbital|pseudotumor, orbital inflammatory|pseudotumors, orbital” “orbital myositis” NA
“MONDO:0005003” “biolink:Disease” “chronic pancreatitis” “A chronic inflammatory process causing damage and fibrosis of the pancreatic parenchyma. Signs and symptoms include abdominal pain, malabsorption and diabetes mellitus.” “pancreatitis, chronic” “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005003 c(“EFO:0000342”, “ICD9:577.1”, “MEDGEN:101753”, “MESH:D050500”, “NCIT:C84637”, “SCTID:235494005”, “UMLS:C0149521”, “icd11.foundation:1758007371”) “MONDO” “phenio_nodes” “otar” “pancreatitis, chronic” NA NA
“MONDO:0005011” “biolink:Disease” “Crohn disease” “A gastrointestinal disorder characterized by chronic inflammation involving all layers of the intestinal wall, noncaseating granulomas affecting the intestinal wall and regional lymph nodes, and transmural fibrosis. Crohn disease most commonly involves the terminal ileum; the colon is the second most common site of involvement.” c(“Crohn disease”, “Crohn’s disease”, “Crohn’s disease of colon”, “Crohn’s disease of large bowel”, “granulomatous colitis”, “paediatric Crohn’s disease”, “pediatric Crohn’s disease”, “regional enteritis”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005011 c(“DOID:8778”, “EFO:0000384”, “ICD10CM:K50”, “ICD9:555.1”, “MEDGEN:3664”, “MESH:D003424”, “NANDO:1200444”, “NANDO:1200446”, “NANDO:2200921”, “NCIT:C2965”, “Orphanet:206”, “SCTID:34000006”, “SCTID:7620006”, “UMLS:C0010346”, “icd11.foundation:1267652425”) “MONDO” “phenio_nodes” “otar” “Crohn disease|Crohn’s disease|Crohn’s disease of colon|Crohn’s disease of large bowel|granulomatous colitis|paediatric Crohn’s disease|pediatric Crohn’s disease|regional enteritis” NA NA
“MONDO:0005019” “biolink:Disease” “diffuse scleroderma” “A variant of systemic scleroderma characterized by sclerosis of the skin, Raynaud phenomenon, and organ involvement, including pulmonary fibrosis, renal disease, and gastrointestinal tract involvement.” c(“diffuse systemic sclerosis”, “systemic sclerosis, diffuse”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005019 c(“DOID:1580”, “EFO:0000404”, “GARD:7727”, “MEDGEN:219839”, “MESH:D045743”, “NCIT:C116791”, “UMLS:C1258104”) “MONDO” “phenio_nodes” “gard_rare|otar|rare” “diffuse systemic sclerosis|systemic sclerosis, diffuse” NA NA
“MONDO:0005100” “biolink:Disease” “systemic sclerosis” “A chronic disorder, possibly autoimmune, marked by excessive production of collagen which results in hardening and thickening of body tissues. The two types of systemic scleroderma, limited cutaneous and diffuse cutaneous are classified with focus on the extent of affected skin. A relationship exists between the extent of skin area affected and degree of internal organ/system involvement. Systemic scleroderma can manifest itself in pulmonary fibrosis, Raynaud’s syndrome, digestive system telangiectasias, renal hypertension and/or pulmonary hypertension.” c(“PSS (progressive systemic sclerosis)”, “SSc”, “SSc, diffuse sclerosis”, “Scleroderma”, “Scleroderma (& [systemic sclerosis])”, “Scleroderma syndrome”, “Scleroderma, diffuse”, “Scleroderma, systemic”, “Systemic Scleroderma”, “diffuse Scleroderma”, “diffuse sclerosis”, “progressive systemic sclerosis”, “systemic Scleroderma”, “systemic scleroderma”, “systemic sclerosis”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005100 c(“DOID:418”, “EFO:0000717”, “GARD:9748”, “ICD10CM:M34”, “ICD9:710.1”, “MEDGEN:19897”, “MESH:D012595”, “MedDRA:10042953”, “NANDO:1200277”, “NANDO:2200429”, “NCIT:C72070”, “NORD:2007”, “Orphanet:90291”, “SCTID:89155008”, “UMLS:C0036421”, “icd11.foundation:1084365812”) “MONDO” “phenio_nodes” “gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare” “PSS (progressive systemic sclerosis)|SSc|SSc, diffuse sclerosis|Scleroderma (& [systemic sclerosis])|Scleroderma syndrome|Scleroderma, diffuse|Scleroderma, systemic|Systemic Scleroderma|diffuse Scleroderma|diffuse sclerosis|progressive systemic sclerosis|systemic Scleroderma|systemic scleroderma|systemic sclerosis” NA “Scleroderma”
“MONDO:0005219” “biolink:Disease” “breast fibrocystic disease” “Fibrosis associated with cyst formation in the breast parenchyma.” c(“benign breast disease”, “breast fibrocystic change”, “cystic disease of breast”, “cystic disease of the breast”, “diffuse cystic mastopathy”, “fibrocystic breast”, “fibrocystic breast changes”, “fibrocystic breast disease”, “fibrocystic change of breast”, “fibrocystic change of the breast”, “fibrocystic disease”, “fibrocystic disease of breast”, “fibrocystic disease of the breast”, “fibrocystic mastopathy”, “mammary dysplasia”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005219 c(“DOID:10354”, “EFO:0003014”, “ICD10CM:N60.1”, “ICD9:610.1”, “MEDGEN:42015”, “MESH:D005348”, “NCIT:C3039”, “UMLS:C0016034”) “MONDO” “phenio_nodes” “otar” “benign breast disease|breast fibrocystic change|cystic disease of breast|cystic disease of the breast|diffuse cystic mastopathy|fibrocystic breast|fibrocystic breast changes|fibrocystic breast disease|fibrocystic change of breast|fibrocystic change of the breast|fibrocystic disease|fibrocystic disease of breast|fibrocystic disease of the breast|fibrocystic mastopathy|mammary dysplasia” NA NA
“MONDO:0005413” “biolink:Disease” “cystic fibrosis associated meconium ileus” “Cystic fibrosis associated meconium ileum is a thickening and congestion of the meconium in the ileum in newborns, often the first sign of cystic fibrosis. In cystic fibrosis, the meconium can form a bituminous black-green mechanical obstruction in a segment of the ileum. Beyond this there may be a few separate grey-white globular pellets. Below this level, the bowel is a narrow and empty micro-colon. Above the level of the obstruction, there are several loops of hypertrophied bowel distended with fluid. No meconium is passed, and abdominal distension and vomiting appear soon after birth. About 20% of cases of cystic fibrosis present with meconium ileus, while approximately 20% of one series of cases of meconium ileus did not have cystic fibrosis. The presence of meconium ileus is not related to the severity of the cystic fibrosis.” “cystic fibrosis associated meconium ileum” “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005413 c(“EFO:0004608”, “MEDGEN:639765”, “UMLS:C0546982”) “MONDO” “phenio_nodes” “otar” “cystic fibrosis associated meconium ileum” NA NA
“MONDO:0005668” “biolink:Disease” “bird fancier’s lung” “Hypersensitivity granulomatous pneumonitis caused by the inhalation of avian antigens that are present in the dust of the droppings and feathers of many species of birds. In the acute phase it manifests as fever, chills, dyspnea, cough, and chest tightness. Chronic exposure may lead to interstitial lung fibrosis.” c(“Avian hypersensitivity pneumonitis”, “bird breeder’s lung”, “bird fancier lung”, “bird fancier’s lung”, “bird-breeder’s lung”, “bird-fancier’s lung”, “bird-fanciers’ lung”, “pigeon breeder’s lung”, “pigeon-breeder lung disease”, “pigeon-breeder’s lung”, “poultry worker’s lung”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005668 c(“DOID:13891”, “GARD:16924”, “ICD10CM:J67.2”, “ICD9:495.2”, “MEDGEN:586”, “MESH:D001716”, “MedDRA:10004941”, “NCIT:C34425”, “Orphanet:99908”, “SCTID:69339004”, “UMLS:C0005592”, “icd11.foundation:912113736”) “MONDO” “phenio_nodes” “gard_rare|nord_rare|rare” “Avian hypersensitivity pneumonitis|bird breeder’s lung|bird fancier lung|bird fancier’s lung|bird-fancier’s lung|bird-fanciers’ lung|pigeon breeder’s lung|pigeon-breeder lung disease|pigeon-breeder’s lung” “bird-breeder’s lung|poultry worker’s lung” NA
“MONDO:0005705” “biolink:Disease” “clonorchiasis” “Infection of the biliary passages with clonorchis sinensis, also called Opisthorchis sinensis. It may lead to inflammation of the biliary tract, proliferation of biliary epithelium, progressive portal fibrosis, and sometimes bile duct carcinoma. Extension to the liver may lead to fatty changes and cirrhosis. (From Dorland, 27th ed)” “Oriental liver fluke disease” “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0005705 c(“DOID:13767”, “EFO:0007210”, “ICD10CM:B66.1”, “ICD9:121.1”, “MEDGEN:3119”, “MESH:D003003”, “Orphanet:658917”, “SCTID:11938002”, “UMLS:C0009021”, “icd11.foundation:918986134”) “MONDO” “phenio_nodes” “gard_rare|ordo_disorder|orphanet_rare|otar|rare” “Oriental liver fluke disease” NA NA
Edge Data

Showing 0 of 0 edges:


Expanding

From a set of nodes (and possibly edges that connect them), we can “expand” by fetching their collective neighborhood from the KG engine. Here we fetch 10 Gene nodes, and in the first call to expand() fetch nodes connected by biolink:causes or biolink:gene_associated_with_condition predicates. We then take the resulting graph (which contains both disease and gene nodes), and fetch the neighborhood of nodes with category biolink:PhenotypicFeature. Since there are many such results, we add a limit for the visualization.2

# MONDO:0018982, MONDO:0011871: Neimann-Pick type B and C

g <- monarch |>
  fetch_nodes(query_ids = c("MONDO:0018982", "MONDO:0011871")) |>
  expand(predicates = c("biolink:causes", "biolink:gene_associated_with_condition")) |>
  expand(categories = c("biolink:PhenotypicFeature"), limit = 10)

plot(g)

We can also expand iteratively using the expand_n function. This allows us to grow our graph to a certain degree of distance from the original input nodes. In the below example, we begin with a graph containing the disease “MONDO:0007525” and its directly associated phenotypes.

But what if we wish to get each of the subphenotypes within each of those phenotypes? And the sub-subphenotypes of those phenotypes? We can use the expand_n function to iteratively get a list of descendant subphenotypes up to 3 degrees of graph distance (n=3). You can adjust the maximum extent of the distance by increasing/decreasing the n parameter.

## Using example KGX file packaged with monarchr
data(eds_marfan_kg)

g <- eds_marfan_kg |>
  fetch_nodes(query_ids = "MONDO:0007525") |>
  expand(predicates = "biolink:has_phenotype",
         categories = "biolink:PhenotypicFeature")

g_expanded <- g |> expand_n(predicates = "biolink:subclass_of", n=3)

We can limit the expansion based on several factors, which are combined in an “and” fashion:

  • direction: "in“, "out", or "both" (default): which direction edges should point from the query graph nodes
  • predicates: a character vector of edge predicates to fetch (all if unspecified)
  • categories: a character vector of node category labels to fetch in the connected neighborhood (all if unspecified)

Lastly, the transitive parameter (which defaults to FALSE) can be used to fetch hierarchical, transitive relationships like biolink:subclass_of. When using transitive = TRUE, direction must be "in" or "out", and predicates must be a single entry. The first example above illustrated this; here we explore the super-types and sub-types of Niemann-Pick, by first fetching all of its subtypes, and then considering the collective ancestry of those nodes in the KG. Not all ancestors are diseases (e.g. biolink:Entity), so we restrict the result set of the second expansion.

# MONDO:0001982 Niemann-Pick Disease (13 subtypes)

hierarchy <- monarch |>
  fetch_nodes(query_ids = c("MONDO:0001982")) |> 
  expand(predicates = "biolink:subclass_of", direction = "in", transitive = TRUE) |>
  expand(predicates = "biolink:subclass_of", direction = "out", transitive = TRUE, categories = "biolink:Disease")

plot(hierarchy)

Monarch-Specific Features

While most features of monarchr are applicable to any KGX-formatted KG, some are specific to functionality provided by the Monarch Initiative.

Searching

While fetch_nodes() and expand() apply to all types of engines, monarchr also exposes functionality specific to the Monarch Initiatives’ API services. The first of these is monarch_search(), which uses the same search API as the Monarch website, returning a graph with matching nodes backed by a monarch_engine().

cf_hits <- monarch_search("Cystic fibrosis", category = "biolink:Disease", limit = 5)

cf_hits
Graph with 5 nodes and 0 edges. Expand sections below for details.
Node Data

Showing 5 of 5 nodes:

id pcategory name description synonym (list) category (list) iri xref (list) namespace provided_by exact_synonyms subsets
“MONDO:1010043” “biolink:Disease” “cystic fibrosis, non-human animal” “Cystic fibrosis that occurs in non-human animals.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_1010043 “OMIA:001794” “MONDO” “phenio_nodes” NA NA
“MONDO:1010543” “biolink:Disease” “cystic fibrosis, domestic ferret” “Cystic fibrosis that occurs in domestic ferret.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_1010543 “OMIA:001794-9669” “MONDO” “phenio_nodes” NA NA
“MONDO:1010544” “biolink:Disease” “cystic fibrosis, pig” “Cystic fibrosis that occurs in pig.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_1010544 “OMIA:001794-9823” “MONDO” “phenio_nodes” NA NA
“MONDO:1010545” “biolink:Disease” “cystic fibrosis, sheep” “Cystic fibrosis that occurs in sheep.” NA “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_1010545 “OMIA:001794-9940” “MONDO” “phenio_nodes” NA NA
“MONDO:0009061” “biolink:Disease” “cystic fibrosis” “Cystic fibrosis (CF) is a genetic disorder characterized by the production of sweat with a high salt content and mucus secretions with an abnormal viscosity.” c(“CF”, “cystic fibrosis”, “cystic fibrosis lung disease, modifier of”, “mucoviscidosis”, “pseudomonas aeruginosa, susceptibility to chronic infection by, in cystic fibrosis”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0009061 c(“DOID:1485”, “GARD:6233”, “ICD10CM:E84”, “ICD9:277.0”, “MEDGEN:41393”, “MESH:D003550”, “MedDRA:10011762”, “NANDO:1200922”, “NANDO:1201021”, “NANDO:2100035”, “NANDO:2200205”, “NCIT:C2975”, “NORD:1026”, “OMIM:219700”, “Orphanet:586”, “SCTID:190905008”, “UMLS:C0010674”, “icd11.foundation:514403112”) “MONDO” “phenio_nodes” “CF|cystic fibrosis|cystic fibrosis lung disease, modifier of|mucoviscidosis|pseudomonas aeruginosa, susceptibility to chronic infection by, in cystic fibrosis” “gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare”
Edge Data

Showing 0 of 0 edges:


Semantic Similarity

Monarch’s Semantic Similarity tool provides matches between given query and target nodes, based on their semantic similarity in the KG. Here we grab a few phenotypes of Ehlers-Danlos syndrome, classic type ("MONDO:0007522") and Marfan Syndrome ("MONDO:0007947"), and we find the best matching Marfan phenotype for each EDS phenotype. The result is returned as a graph, containing only computed "computed:best_matches" edges:

eds_phenos <- monarch |>
  fetch_nodes(query_ids = "MONDO:0007522") |>
  expand(predicates = "biolink:has_phenotype", limit = 10)

marfan_phenos <- monarch |>
  fetch_nodes(query_ids = "MONDO:0007947") |>
  expand(predicates = "biolink:has_phenotype", limit = 10)

sim <- monarch_semsim(eds_phenos, marfan_phenos)

plot(sim)

sim
Graph with 16 nodes and 11 edges. Expand sections below for details.
Node Data

Showing 16 of 16 nodes:

id pcategory name description synonym (list) category (list) iri xref (list) related_synonyms namespace provided_by exact_synonyms subsets narrow_synonyms broad_synonyms
“MONDO:0007522” “biolink:Disease” “Ehlers-Danlos syndrome, classic type” “Ehlers-Danlos syndrome, classic type (cEDS) is a form of Ehlers-Danlos syndrome that affects the connective tissue and is characterized by skin hyperextensibility, widened atrophic scars and joint hypermobility.” c(“EDS I”, “EDS I, formerly”, “EDS II”, “EDS II, formerly”, “EDS, classic type”, “Ehlers Danlos syndrome, mild classic type”, “Ehlers Danlos syndrome, mild classic type, formerly”, “Ehlers Danlos syndrome, mitis type”, “Ehlers Danlos syndrome, mitis type, formerly”, “Ehlers-Danlos syndrome classic type”, “Ehlers-Danlos syndrome classical type”, “Ehlers-Danlos syndrome type 1 (formerly)”, “Ehlers-Danlos syndrome type 2”, “Ehlers-Danlos syndrome type 2 (formerly)”, “Ehlers-Danlos syndrome, classic type”, “Ehlers-Danlos syndrome, gravis type”, “Ehlers-Danlos syndrome, gravis type, formerly”, “Ehlers-Danlos syndrome, severe classic type”, “Ehlers-Danlos syndrome, severe classic type, formerly”, “Ehlers-Danlos syndrome, type I”, “Ehlers-Danlos syndrome, type I, formerly”, “Ehlers-Danlos syndrome, type II”, “Ehlers-Danlos syndrome, type II, formerly”, “classic Ehlers-Danlos syndrome”, “classical Ehlers-Danlos syndrome”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0007522 c(“GARD:2088”, “MEDGEN:909864”, “NANDO:1200646”, “NANDO:2201256”, “Orphanet:287”, “SCTID:715318006”, “UMLS:C4225429”) “EDS I|EDS I, formerly|EDS II|EDS II, formerly|Ehlers Danlos syndrome, mild classic type|Ehlers Danlos syndrome, mild classic type, formerly|Ehlers Danlos syndrome, mitis type|Ehlers Danlos syndrome, mitis type, formerly|Ehlers-Danlos syndrome classical type|Ehlers-Danlos syndrome type 1 (formerly)|Ehlers-Danlos syndrome type 2|Ehlers-Danlos syndrome type 2 (formerly)|Ehlers-Danlos syndrome, gravis type|Ehlers-Danlos syndrome, gravis type, formerly|Ehlers-Danlos syndrome, severe classic type|Ehlers-Danlos syndrome, severe classic type, formerly|Ehlers-Danlos syndrome, type I|Ehlers-Danlos syndrome, type I, formerly|Ehlers-Danlos syndrome, type II|Ehlers-Danlos syndrome, type II, formerly|classic Ehlers-Danlos syndrome|classical Ehlers-Danlos syndrome” “MONDO” “phenio_nodes” “EDS, classic type|Ehlers-Danlos syndrome classic type|Ehlers-Danlos syndrome, classic type” “clingen|gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare” NA NA
“HP:0000974” “biolink:PhenotypicFeature” “Hyperextensible skin” “A condition in which the skin can be stretched beyond normal, and then returns to its initial position.” c(“Hyperelastic skin”, “Skin hyperelasticity”, “Skin hyperextensibility”, “Stretchable skin”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000974 “UMLS:C0241074” NA “HP” “phenio_nodes” “Hyperelastic skin|Skin hyperelasticity|Skin hyperextensibility|Stretchable skin” “hposlim_core” NA NA
“HP:0001027” “biolink:PhenotypicFeature” “Soft, doughy skin” “A skin texture that is unusually soft (and may feel silky), and has a malleable consistency resembling that of dough.” “Soft, doughy skin” “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001027 “UMLS:C1849043” NA “HP” “phenio_nodes” “Soft, doughy skin” NA NA NA
“HP:0001030” “biolink:PhenotypicFeature” “Fragile skin” “Skin that splits easily with minimal injury.” c(“Fragile skin”, “Skin fragility”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001030 c(“MEDDRA:10040851”, “SNOMEDCT_US:247427007”, “UMLS:C0241181”) NA “HP” “phenio_nodes” “Fragile skin|Skin fragility” “hposlim_core” NA NA
“HP:0001065” “biolink:PhenotypicFeature” “Striae distensae” “Thinned, erythematous, depressed bands of atrophic skin. Initially, striae appear as flattened and thinned, pinkish linear regions of the skin. Striae tend to enlarge in length and become reddish or purplish. Later, striae tend to appear as white, depressed bands that are parallel to the lines of skin tension. Striae distensae occur most often in areas that have been subject to distension such as the lower back, buttocks, thighs, breast, abdomen, and shoulders.” c(“Purplish striae”, “Stretch marks”, “Striae”, “Striae atrophicae”, “Striae cutis distensae”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001065 c(“MEDDRA:10040925”, “SNOMEDCT_US:201066002”, “SNOMEDCT_US:201067006”, “SNOMEDCT_US:47212006”, “UMLS:C0152459”) NA “HP” “phenio_nodes” “Purplish striae|Stretch marks|Striae|Striae atrophicae|Striae cutis distensae” “hposlim_core” NA NA
“HP:0001073” “biolink:PhenotypicFeature” “Cigarette-paper scars” “Thin (atrophic) and wide scars.” c(“Cigarette paper scarring”, “Cigarette-paper scars”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001073 “UMLS:C1851828” NA “HP” “phenio_nodes” “Cigarette paper scarring|Cigarette-paper scars” “hposlim_core” NA NA
“HP:0001075” “biolink:PhenotypicFeature” “Atrophic scars” “Scars that form a depression compared to the level of the surrounding skin because of damage to the collagen, fat or other tissues below the skin.” c(“Sunken or indented skin due to damage”, “Thin, atrophic scars”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001075 c(“SNOMEDCT_US:239172000”, “SNOMEDCT_US:409766009”, “UMLS:C0162154”) NA “HP” “phenio_nodes” “Sunken or indented skin due to damage|Thin, atrophic scars” “hposlim_core” NA NA
“HP:0002761” “biolink:PhenotypicFeature” “Generalized joint hypermobility” “Joint hypermobility (ability of a joint to move beyond its normal range of motion) affecting many or all joints of the body. In individuals with Joint hypermobility at multiple sites (usually five or more), the term generalized joint hypermobility is preferred.” c(“Generalised joint laxity”, “Generalized joint laxity”, “Hypermobility of all joints”, “Joint laxity, generalised”, “Joint laxity, generalized”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0002761 “UMLS:C1836308” “Joint laxity, generalised|Joint laxity, generalized” “HP” “phenio_nodes” “Generalised joint laxity|Generalized joint laxity|Hypermobility of all joints” NA NA NA
“HP:0000938” “biolink:PhenotypicFeature” “Osteopenia” “Osteopenia is a term to define bone density that is not normal but also not as low as osteoporosis. By definition from the World Health Organization osteopenia is defined by bone densitometry as a T score -1 to -2.5.” c(“Generalised osteopenia”, “Generalized osteopenia”, “Osteopaenia”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000938 c(“SNOMEDCT_US:312894000”, “SNOMEDCT_US:78441005”, “UMLS:C0029453”, “UMLS:C0747078”) NA “HP” “phenio_nodes” “Generalised osteopenia|Generalized osteopenia|Osteopaenia” NA NA NA
“HP:0001058” “biolink:PhenotypicFeature” “Poor wound healing” “A reduced ability to heal cutaneous wounds.” “Poor wound healing” “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001058 “UMLS:C1851789” NA “HP” “phenio_nodes” “Poor wound healing” “hposlim_core” NA NA
“HP:0001252” “biolink:PhenotypicFeature” “Hypotonia” “Hypotonia is an abnormally low muscle tone (the amount of tension or resistance to movement in a muscle). Even when relaxed, muscles have a continuous and passive partial contraction which provides some resistance to passive stretching. Hypotonia thus manifests as diminished resistance to passive stretching. Hypotonia is not the same as muscle weakness, although the two conditions can co-exist.” c(“Central hypotonia”, “Low muscle tone”, “Low or weak muscle tone”, “Muscle hypotonia”, “Muscular hypotonia”, “Peripheral hypotonia”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001252 c(“SNOMEDCT_US:398151007”, “SNOMEDCT_US:398152000”, “UMLS:C0026827”) NA “HP” “phenio_nodes” “Low muscle tone|Low or weak muscle tone|Muscle hypotonia|Muscular hypotonia” NA “Central hypotonia|Peripheral hypotonia” NA
“MONDO:0007947” “biolink:Disease” “Marfan syndrome” “A disorder of the connective tissue. Connective tissue provides strength and flexibility to structures throughout the body such as bones, ligaments, muscles, walls of blood vessels, and heart valves. Marfan syndrome affects most organs and tissues, especially the skeleton, lungs, eyes, heart, and the large blood vessel that distributes blood from the heart to the rest of the body (the aorta). It is caused by mutations in the FBN1 gene, which provides instructions for making a protein called fibrillin-1. Marfan syndrome is inherited in an autosomal dominant pattern. At least 25% of cases are due to a new (de novo) mutation. Treatment is based on the signs and symptoms in each person.” c(“MFS”, “MFS1”, “Marfan syndrome”, “Marfan syndrome type 1”, “Marfan syndrome, type 1”, “Marfan’s syndrome”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0007947 c(“DOID:14323”, “GARD:16535”, “ICD10CM:Q87.4”, “ICD9:759.82”, “MEDGEN:44287”, “MESH:D008382”, “MedDRA:10026829”, “NANDO:1200644”, “NANDO:2200968”, “NCIT:C34807”, “NORD:1403”, “OMIM:154700”, “Orphanet:284963”, “Orphanet:558”, “SCTID:19346006”, “UMLS:C0024796”, “icd11.foundation:236564145”) NA “MONDO” “phenio_nodes” “MFS|MFS1|Marfan syndrome|Marfan syndrome type 1|Marfan syndrome, type 1|Marfan’s syndrome” “clingen|gard_rare|nord_rare|ordo_disorder|ordo_subtype_of_a_disorder|orphanet_rare|otar|prototype_pattern|rare” NA NA
“HP:0430043” “biolink:PhenotypicFeature” “Thoracic lordosis” “Thoracic lordosis refers to an abnormal curvature of the thoracic spine in which the thoracic spine displays lordosis (inward curve) instead of the normal kyphosis (outward curve).” NA “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0430043 NA NA “HP” “phenio_nodes” NA NA NA NA
“HP:0000483” “biolink:PhenotypicFeature” “Astigmatism” “A type of refraction error associated with abnormal curvatures on the anterior and/or posterior surface of the cornea.” c(“Abnormal curving of the cornea or lens of the eye”, “Astigmatism”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000483 c(“SNOMEDCT_US:82649003”, “UMLS:C0004106”) NA “HP” “phenio_nodes” “Abnormal curving of the cornea or lens of the eye|Astigmatism” “hposlim_core” NA NA
“HP:0001377” “biolink:PhenotypicFeature” “Limited elbow extension” “Limited ability to straighten the arm at the elbow joint.” c(“Decreased elbow extension”, “Elbow limited extension”, “Limitation of elbow extension”, “Limited elbow extension”, “Limited extension at elbows”, “Limited forearm extension”, “Restricted elbow extension”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001377 “UMLS:C1867103” NA “HP” “phenio_nodes” “Decreased elbow extension|Elbow limited extension|Limitation of elbow extension|Limited elbow extension|Limited extension at elbows|Limited forearm extension|Restricted elbow extension” “hposlim_core” NA NA
“HP:0001371” “biolink:PhenotypicFeature” “Flexion contracture” “A flexion contracture is a bent (flexed) joint that cannot be straightened actively or passively. It is thus a chronic loss of joint motion due to structural changes in muscle, tendons, ligaments, or skin that prevents normal movement of joints.” c(“Flexed joint that cannot be straightened”, “Flexion contractures”, “Flexion contractures of joints”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001371 c(“SNOMEDCT_US:203598005”, “SNOMEDCT_US:385522000”, “SNOMEDCT_US:55033002”, “SNOMEDCT_US:57048009”, “SNOMEDCT_US:7890003”, “SNOMEDCT_US:88565003”, “UMLS:C0009917”, “UMLS:C0009918”, “UMLS:C0333068”, “UMLS:C1850530”) NA “HP” “phenio_nodes” “Flexed joint that cannot be straightened|Flexion contractures|Flexion contractures of joints” NA NA NA
Edge Data

Showing 11 of 11 edges:

from to subject predicate object primary_knowledge_source monarch_semsim_metric monarch_semsim_score monarch_semsim_ancestor_id
9 13 “HP:0000938” “computed:best_matches” “HP:0430043” “computed:monarch_semsim” “ancestor_information_content” 6.71812403912839 “HP:0011842”
2 14 “HP:0000974” “computed:best_matches” “HP:0000483” “computed:monarch_semsim” “ancestor_information_content” 4.42994203198542 “HP:0000118”
3 14 “HP:0001027” “computed:best_matches” “HP:0000483” “computed:monarch_semsim” “ancestor_information_content” 4.42994203198542 “HP:0000118”
4 15 “HP:0001030” “computed:best_matches” “HP:0001377” “computed:monarch_semsim” “ancestor_information_content” 4.42994203198542 “HP:0000118”
10 14 “HP:0001058” “computed:best_matches” “HP:0000483” “computed:monarch_semsim” “ancestor_information_content” 4.42994203198542 “HP:0000118”
5 16 “HP:0001065” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” “ancestor_information_content” 6.2249938509541 “UPHENO:0069327”
6 16 “HP:0001073” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” “ancestor_information_content” 10.7230824142753 “HP:0003549”
7 16 “HP:0001075” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” “ancestor_information_content” 10.7230824142753 “HP:0003549”
11 16 “HP:0001252” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” “ancestor_information_content” 9.23721900212941 “HP:0003011”
8 15 “HP:0002761” “computed:best_matches” “HP:0001377” “computed:monarch_semsim” “ancestor_information_content” 12.4159009047571 “UPHENO:0076944”
1 12 “MONDO:0007522” “computed:best_matches” “MONDO:0007947” “computed:monarch_semsim” “ancestor_information_content” 9.23286040352451 “MONDO:0000426”


Note that the Disease nodes were included in the match as well. Although not displayed by plot(), edges also include the metric, similarity score, and ID of the least common ancestor relating the nodes.

We can use tidygraph’s graph_join() to see this result in the context of the original query and target graphs.

both_phenos <- eds_phenos |>
  graph_join(marfan_phenos) |>
  graph_join(sim)

plot(both_phenos)

both_phenos
Graph with 22 nodes and 31 edges. Expand sections below for details.
Node Data

Showing 22 of 22 nodes:

id pcategory name description synonym (list) category (list) iri xref (list) related_synonyms namespace provided_by exact_synonyms subsets narrow_synonyms broad_synonyms
“MONDO:0007522” “biolink:Disease” “Ehlers-Danlos syndrome, classic type” “Ehlers-Danlos syndrome, classic type (cEDS) is a form of Ehlers-Danlos syndrome that affects the connective tissue and is characterized by skin hyperextensibility, widened atrophic scars and joint hypermobility.” c(“EDS I”, “EDS I, formerly”, “EDS II”, “EDS II, formerly”, “EDS, classic type”, “Ehlers Danlos syndrome, mild classic type”, “Ehlers Danlos syndrome, mild classic type, formerly”, “Ehlers Danlos syndrome, mitis type”, “Ehlers Danlos syndrome, mitis type, formerly”, “Ehlers-Danlos syndrome classic type”, “Ehlers-Danlos syndrome classical type”, “Ehlers-Danlos syndrome type 1 (formerly)”, “Ehlers-Danlos syndrome type 2”, “Ehlers-Danlos syndrome type 2 (formerly)”, “Ehlers-Danlos syndrome, classic type”, “Ehlers-Danlos syndrome, gravis type”, “Ehlers-Danlos syndrome, gravis type, formerly”, “Ehlers-Danlos syndrome, severe classic type”, “Ehlers-Danlos syndrome, severe classic type, formerly”, “Ehlers-Danlos syndrome, type I”, “Ehlers-Danlos syndrome, type I, formerly”, “Ehlers-Danlos syndrome, type II”, “Ehlers-Danlos syndrome, type II, formerly”, “classic Ehlers-Danlos syndrome”, “classical Ehlers-Danlos syndrome”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0007522 c(“GARD:2088”, “MEDGEN:909864”, “NANDO:1200646”, “NANDO:2201256”, “Orphanet:287”, “SCTID:715318006”, “UMLS:C4225429”) “EDS I|EDS I, formerly|EDS II|EDS II, formerly|Ehlers Danlos syndrome, mild classic type|Ehlers Danlos syndrome, mild classic type, formerly|Ehlers Danlos syndrome, mitis type|Ehlers Danlos syndrome, mitis type, formerly|Ehlers-Danlos syndrome classical type|Ehlers-Danlos syndrome type 1 (formerly)|Ehlers-Danlos syndrome type 2|Ehlers-Danlos syndrome type 2 (formerly)|Ehlers-Danlos syndrome, gravis type|Ehlers-Danlos syndrome, gravis type, formerly|Ehlers-Danlos syndrome, severe classic type|Ehlers-Danlos syndrome, severe classic type, formerly|Ehlers-Danlos syndrome, type I|Ehlers-Danlos syndrome, type I, formerly|Ehlers-Danlos syndrome, type II|Ehlers-Danlos syndrome, type II, formerly|classic Ehlers-Danlos syndrome|classical Ehlers-Danlos syndrome” “MONDO” “phenio_nodes” “EDS, classic type|Ehlers-Danlos syndrome classic type|Ehlers-Danlos syndrome, classic type” “clingen|gard_rare|nord_rare|ordo_disorder|orphanet_rare|otar|rare” NA NA
“HP:0000974” “biolink:PhenotypicFeature” “Hyperextensible skin” “A condition in which the skin can be stretched beyond normal, and then returns to its initial position.” c(“Hyperelastic skin”, “Skin hyperelasticity”, “Skin hyperextensibility”, “Stretchable skin”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000974 “UMLS:C0241074” NA “HP” “phenio_nodes” “Hyperelastic skin|Skin hyperelasticity|Skin hyperextensibility|Stretchable skin” “hposlim_core” NA NA
“HP:0001027” “biolink:PhenotypicFeature” “Soft, doughy skin” “A skin texture that is unusually soft (and may feel silky), and has a malleable consistency resembling that of dough.” “Soft, doughy skin” “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001027 “UMLS:C1849043” NA “HP” “phenio_nodes” “Soft, doughy skin” NA NA NA
“HP:0001030” “biolink:PhenotypicFeature” “Fragile skin” “Skin that splits easily with minimal injury.” c(“Fragile skin”, “Skin fragility”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001030 c(“MEDDRA:10040851”, “SNOMEDCT_US:247427007”, “UMLS:C0241181”) NA “HP” “phenio_nodes” “Fragile skin|Skin fragility” “hposlim_core” NA NA
“HP:0001065” “biolink:PhenotypicFeature” “Striae distensae” “Thinned, erythematous, depressed bands of atrophic skin. Initially, striae appear as flattened and thinned, pinkish linear regions of the skin. Striae tend to enlarge in length and become reddish or purplish. Later, striae tend to appear as white, depressed bands that are parallel to the lines of skin tension. Striae distensae occur most often in areas that have been subject to distension such as the lower back, buttocks, thighs, breast, abdomen, and shoulders.” c(“Purplish striae”, “Stretch marks”, “Striae”, “Striae atrophicae”, “Striae cutis distensae”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001065 c(“MEDDRA:10040925”, “SNOMEDCT_US:201066002”, “SNOMEDCT_US:201067006”, “SNOMEDCT_US:47212006”, “UMLS:C0152459”) NA “HP” “phenio_nodes” “Purplish striae|Stretch marks|Striae|Striae atrophicae|Striae cutis distensae” “hposlim_core” NA NA
“HP:0001073” “biolink:PhenotypicFeature” “Cigarette-paper scars” “Thin (atrophic) and wide scars.” c(“Cigarette paper scarring”, “Cigarette-paper scars”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001073 “UMLS:C1851828” NA “HP” “phenio_nodes” “Cigarette paper scarring|Cigarette-paper scars” “hposlim_core” NA NA
“HP:0001075” “biolink:PhenotypicFeature” “Atrophic scars” “Scars that form a depression compared to the level of the surrounding skin because of damage to the collagen, fat or other tissues below the skin.” c(“Sunken or indented skin due to damage”, “Thin, atrophic scars”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001075 c(“SNOMEDCT_US:239172000”, “SNOMEDCT_US:409766009”, “UMLS:C0162154”) NA “HP” “phenio_nodes” “Sunken or indented skin due to damage|Thin, atrophic scars” “hposlim_core” NA NA
“HP:0002761” “biolink:PhenotypicFeature” “Generalized joint hypermobility” “Joint hypermobility (ability of a joint to move beyond its normal range of motion) affecting many or all joints of the body. In individuals with Joint hypermobility at multiple sites (usually five or more), the term generalized joint hypermobility is preferred.” c(“Generalised joint laxity”, “Generalized joint laxity”, “Hypermobility of all joints”, “Joint laxity, generalised”, “Joint laxity, generalized”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0002761 “UMLS:C1836308” “Joint laxity, generalised|Joint laxity, generalized” “HP” “phenio_nodes” “Generalised joint laxity|Generalized joint laxity|Hypermobility of all joints” NA NA NA
“HP:0000938” “biolink:PhenotypicFeature” “Osteopenia” “Osteopenia is a term to define bone density that is not normal but also not as low as osteoporosis. By definition from the World Health Organization osteopenia is defined by bone densitometry as a T score -1 to -2.5.” c(“Generalised osteopenia”, “Generalized osteopenia”, “Osteopaenia”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000938 c(“SNOMEDCT_US:312894000”, “SNOMEDCT_US:78441005”, “UMLS:C0029453”, “UMLS:C0747078”) NA “HP” “phenio_nodes” “Generalised osteopenia|Generalized osteopenia|Osteopaenia” NA NA NA
“HP:0001058” “biolink:PhenotypicFeature” “Poor wound healing” “A reduced ability to heal cutaneous wounds.” “Poor wound healing” “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001058 “UMLS:C1851789” NA “HP” “phenio_nodes” “Poor wound healing” “hposlim_core” NA NA
“HP:0001252” “biolink:PhenotypicFeature” “Hypotonia” “Hypotonia is an abnormally low muscle tone (the amount of tension or resistance to movement in a muscle). Even when relaxed, muscles have a continuous and passive partial contraction which provides some resistance to passive stretching. Hypotonia thus manifests as diminished resistance to passive stretching. Hypotonia is not the same as muscle weakness, although the two conditions can co-exist.” c(“Central hypotonia”, “Low muscle tone”, “Low or weak muscle tone”, “Muscle hypotonia”, “Muscular hypotonia”, “Peripheral hypotonia”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001252 c(“SNOMEDCT_US:398151007”, “SNOMEDCT_US:398152000”, “UMLS:C0026827”) NA “HP” “phenio_nodes” “Low muscle tone|Low or weak muscle tone|Muscle hypotonia|Muscular hypotonia” NA “Central hypotonia|Peripheral hypotonia” NA
“MONDO:0007947” “biolink:Disease” “Marfan syndrome” “A disorder of the connective tissue. Connective tissue provides strength and flexibility to structures throughout the body such as bones, ligaments, muscles, walls of blood vessels, and heart valves. Marfan syndrome affects most organs and tissues, especially the skeleton, lungs, eyes, heart, and the large blood vessel that distributes blood from the heart to the rest of the body (the aorta). It is caused by mutations in the FBN1 gene, which provides instructions for making a protein called fibrillin-1. Marfan syndrome is inherited in an autosomal dominant pattern. At least 25% of cases are due to a new (de novo) mutation. Treatment is based on the signs and symptoms in each person.” c(“MFS”, “MFS1”, “Marfan syndrome”, “Marfan syndrome type 1”, “Marfan syndrome, type 1”, “Marfan’s syndrome”) “biolink:Disease” http://purl.obolibrary.org/obo/MONDO_0007947 c(“DOID:14323”, “GARD:16535”, “ICD10CM:Q87.4”, “ICD9:759.82”, “MEDGEN:44287”, “MESH:D008382”, “MedDRA:10026829”, “NANDO:1200644”, “NANDO:2200968”, “NCIT:C34807”, “NORD:1403”, “OMIM:154700”, “Orphanet:284963”, “Orphanet:558”, “SCTID:19346006”, “UMLS:C0024796”, “icd11.foundation:236564145”) NA “MONDO” “phenio_nodes” “MFS|MFS1|Marfan syndrome|Marfan syndrome type 1|Marfan syndrome, type 1|Marfan’s syndrome” “clingen|gard_rare|nord_rare|ordo_disorder|ordo_subtype_of_a_disorder|orphanet_rare|otar|prototype_pattern|rare” NA NA
“HP:0430043” “biolink:PhenotypicFeature” “Thoracic lordosis” “Thoracic lordosis refers to an abnormal curvature of the thoracic spine in which the thoracic spine displays lordosis (inward curve) instead of the normal kyphosis (outward curve).” NA “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0430043 NA NA “HP” “phenio_nodes” NA NA NA NA
“HP:0000483” “biolink:PhenotypicFeature” “Astigmatism” “A type of refraction error associated with abnormal curvatures on the anterior and/or posterior surface of the cornea.” c(“Abnormal curving of the cornea or lens of the eye”, “Astigmatism”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000483 c(“SNOMEDCT_US:82649003”, “UMLS:C0004106”) NA “HP” “phenio_nodes” “Abnormal curving of the cornea or lens of the eye|Astigmatism” “hposlim_core” NA NA
“HP:0001377” “biolink:PhenotypicFeature” “Limited elbow extension” “Limited ability to straighten the arm at the elbow joint.” c(“Decreased elbow extension”, “Elbow limited extension”, “Limitation of elbow extension”, “Limited elbow extension”, “Limited extension at elbows”, “Limited forearm extension”, “Restricted elbow extension”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001377 “UMLS:C1867103” NA “HP” “phenio_nodes” “Decreased elbow extension|Elbow limited extension|Limitation of elbow extension|Limited elbow extension|Limited extension at elbows|Limited forearm extension|Restricted elbow extension” “hposlim_core” NA NA
“HP:0000486” “biolink:PhenotypicFeature” “Strabismus” “A misalignment of the eyes so that the visual axes deviate from bifoveal fixation. The classification of strabismus may be based on a number of features including the relative position of the eyes, whether the deviation is latent or manifest, intermittent or constant, concomitant or otherwise and according to the age of onset and the relevance of any associated refractive error.” c(“Cross-eyed”, “Squint”, “Squint eyes”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000486 c(“SNOMEDCT_US:128602000”, “SNOMEDCT_US:22066006”, “UMLS:C0038379”) NA “HP” “phenio_nodes” “Cross-eyed|Squint|Squint eyes” “hposlim_core” NA NA
“HP:0005136” “biolink:PhenotypicFeature” “Mitral annular calcification” “Mitral annular calcification (MAC) results from progressive calcium deposition along and beneath the mitral valve annulus.” “Premature calcification of mitral annulus” “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0005136 “UMLS:C1835130” NA “HP” “phenio_nodes” “Premature calcification of mitral annulus” NA NA NA
“HP:0001371” “biolink:PhenotypicFeature” “Flexion contracture” “A flexion contracture is a bent (flexed) joint that cannot be straightened actively or passively. It is thus a chronic loss of joint motion due to structural changes in muscle, tendons, ligaments, or skin that prevents normal movement of joints.” c(“Flexed joint that cannot be straightened”, “Flexion contractures”, “Flexion contractures of joints”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0001371 c(“SNOMEDCT_US:203598005”, “SNOMEDCT_US:385522000”, “SNOMEDCT_US:55033002”, “SNOMEDCT_US:57048009”, “SNOMEDCT_US:7890003”, “SNOMEDCT_US:88565003”, “UMLS:C0009917”, “UMLS:C0009918”, “UMLS:C0333068”, “UMLS:C1850530”) NA “HP” “phenio_nodes” “Flexed joint that cannot be straightened|Flexion contractures|Flexion contractures of joints” NA NA NA
“HP:0003199” “biolink:PhenotypicFeature” “Decreased muscle mass” NA “Decreased muscle mass” “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0003199 “UMLS:C1837108” NA “HP” “phenio_nodes” “Decreased muscle mass” NA NA NA
“HP:0025586” “biolink:PhenotypicFeature” “Hypertropia” “A type of strabismus characterized by permanent upward deviation of the visual axis of one eye.” NA “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0025586 NA NA “HP” “phenio_nodes” NA NA NA NA
“HP:0000518” “biolink:PhenotypicFeature” “Cataract” “A cataract is an opacity or clouding that develops in the crystalline lens of the eye or in its capsule.” c(“Cataracts”, “Clouding of the lens of the eye”, “Cloudy lens”, “Lens opacities”, “Lens opacity”) “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0000518 c(“Fyler:4865”, “SNOMEDCT_US:128306009”, “SNOMEDCT_US:193570009”, “SNOMEDCT_US:247053007”, “UMLS:C0086543”, “UMLS:C1510497”) NA “HP” “phenio_nodes” “Cataracts|Clouding of the lens of the eye|Cloudy lens|Lens opacities|Lens opacity” “hposlim_core” NA NA
“HP:0008132” “biolink:PhenotypicFeature” “Medial rotation of the medial malleolus” NA NA “biolink:PhenotypicFeature” http://purl.obolibrary.org/obo/HP_0008132 “UMLS:C3805726” NA “HP” “phenio_nodes” NA NA NA NA
Edge Data

Showing 31 of 31 edges:

from to subject predicate object primary_knowledge_source knowledge_level negated frequency_qualifier original_subject agent_type aggregator_knowledge_source has_evidence provided_by id category (list) has_quotient has_total has_count has_percentage publications (list) onset_qualifier monarch_semsim_metric monarch_semsim_score monarch_semsim_ancestor_id
1 2 “MONDO:0007522” “biolink:has_phenotype” “HP:0000974” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd68498-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 3 “MONDO:0007522” “biolink:has_phenotype” “HP:0001027” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd68499-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 4 “MONDO:0007522” “biolink:has_phenotype” “HP:0001030” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd6849a-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 5 “MONDO:0007522” “biolink:has_phenotype” “HP:0001065” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd6849b-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 6 “MONDO:0007522” “biolink:has_phenotype” “HP:0001073” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd6849c-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 7 “MONDO:0007522” “biolink:has_phenotype” “HP:0001075” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd6849d-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 8 “MONDO:0007522” “biolink:has_phenotype” “HP:0002761” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040281” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd6849e-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 9 “MONDO:0007522” “biolink:has_phenotype” “HP:0000938” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040282” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd6849f-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 10 “MONDO:0007522” “biolink:has_phenotype” “HP:0001058” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040282” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd684a0-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
1 11 “MONDO:0007522” “biolink:has_phenotype” “HP:0001252” “infores:orphanet” “knowledge_assertion” FALSE “HP:0040282” “Orphanet:287” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000304” “hpoa_disease_to_phenotype_edges” “uuid:2bd684a1-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NULL NA NA NA NA
12 13 “MONDO:0007947” “biolink:has_phenotype” “HP:0430043” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0006017” “hpoa_disease_to_phenotype_edges” “uuid:2766e9fe-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” “0.7619047619047619” 21 16 “76.19047619047619” PMID:31772430 NA NA NA NA
12 14 “MONDO:0007947” “biolink:has_phenotype” “HP:0000483” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0006017” “hpoa_disease_to_phenotype_edges” “uuid:2766e9ff-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” “0.05660377358490566” 53 3 “5.660377358490567” PMID:33436942 NA NA NA NA
12 15 “MONDO:0007947” “biolink:has_phenotype” “HP:0001377” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0006017” “hpoa_disease_to_phenotype_edges” “uuid:2766ea00-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” “0.1457286432160804” 199 29 “14.572864321608039” c(“PMID:28050285”, “PMID:33436942”) NA NA NA NA
12 16 “MONDO:0007947” “biolink:has_phenotype” “HP:0000486” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0006017” “hpoa_disease_to_phenotype_edges” “uuid:2766ea01-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” “0.19197207678883071” 573 110 “19.19720767888307” PMID:8172269 NA NA NA NA
12 17 “MONDO:0007947” “biolink:has_phenotype” “HP:0005136” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000501” “hpoa_disease_to_phenotype_edges” “uuid:2766ea02-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NA NA NA NA NA
12 18 “MONDO:0007947” “biolink:has_phenotype” “HP:0001371” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000501” “hpoa_disease_to_phenotype_edges” “uuid:2766ea03-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NA NA NA NA NA
12 19 “MONDO:0007947” “biolink:has_phenotype” “HP:0003199” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000501” “hpoa_disease_to_phenotype_edges” “uuid:2766ea04-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NA NA NA NA NA
12 20 “MONDO:0007947” “biolink:has_phenotype” “HP:0025586” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0006017” “hpoa_disease_to_phenotype_edges” “uuid:2766ea05-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” “0.013961605584642234” 573 8 “1.3961605584642234” PMID:8172269 NA NA NA NA
12 21 “MONDO:0007947” “biolink:has_phenotype” “HP:0000518” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0006017” “hpoa_disease_to_phenotype_edges” “uuid:2766ea06-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” “0.592964824120603” 199 118 “59.2964824120603” c(“PMID:33436942”, “PMID:26903188”) NA NA NA NA
12 22 “MONDO:0007947” “biolink:has_phenotype” “HP:0008132” “infores:omim” “knowledge_assertion” FALSE NA “OMIM:154700” “manual_agent” “infores:monarchinitiative|infores:hpo-annotations” “ECO:0000501” “hpoa_disease_to_phenotype_edges” “uuid:2766ea07-198e-11f0-be82-6045bdb3d4c0” “biolink:DiseaseToPhenotypicFeatureAssociation” NA NA NA NA NA NA NA NA NA
9 13 “HP:0000938” “computed:best_matches” “HP:0430043” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 6.71812403912839 “HP:0011842”
2 14 “HP:0000974” “computed:best_matches” “HP:0000483” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 4.42994203198542 “HP:0000118”
3 14 “HP:0001027” “computed:best_matches” “HP:0000483” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 4.42994203198542 “HP:0000118”
4 15 “HP:0001030” “computed:best_matches” “HP:0001377” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 4.42994203198542 “HP:0000118”
10 14 “HP:0001058” “computed:best_matches” “HP:0000483” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 4.42994203198542 “HP:0000118”
5 18 “HP:0001065” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 6.2249938509541 “UPHENO:0069327”
6 18 “HP:0001073” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 10.7230824142753 “HP:0003549”
7 18 “HP:0001075” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 10.7230824142753 “HP:0003549”
11 18 “HP:0001252” “computed:best_matches” “HP:0001371” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 9.23721900212941 “HP:0003011”
8 15 “HP:0002761” “computed:best_matches” “HP:0001377” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 12.4159009047571 “UPHENO:0076944”
1 12 “MONDO:0007522” “computed:best_matches” “MONDO:0007947” “computed:monarch_semsim” NA NA NA NA NA NA NA NA NA NULL NA NA NA NA NULL NA “ancestor_information_content” 9.23286040352451 “MONDO:0000426”


The monarch_semsim result contain additional properties for monarch_semsim_metric, monarch_semsim_score, and monarch_semsim_ancestor_id, which we can use for plotting as well (loading ggraph to avoid this error):

library(ggraph)
plot(both_phenos, edge_color = monarch_semsim_score)

Other Features

Other useful features are covered in dedicated Vignettes:

  • Rollups and Transitivity - For computing transitive closures, transitive reductions, and rolling information up or down in directed acyclic graphs.
  • Visualizing Knowledge Graphs - Basic plotting, compatible libraries, and plotting with Cytoscape.
  • Exploring Knowledge Graphs - summary() for KG engines and sample graphs covering node categories.
  • Engine Preferences - Determining the selection of node pcategory from available category values and other configurable engine properties.

  1. The %in_list% and other operators work the same for file_engine()s, which store multi-valued properties in list columns. Multi-value properties are typically represented as list columns in R, but %in% does not provide the desired semantics–try using both %in% and %in_list% to filter a data.frame on values of a list column to see the difference. Note that %in_list% can only take a length-one character vector as the left-hand side, and the right hand side must be a single node property name in the KG.↩︎

  2. The limit parameter for expand() is more complex than for fetch_nodes(), because the query graph also contains edges which may be part of the neighborhood that would be fetched; expand() attempts to fetch limit new edges that are not part of the query already. Further, unlike in fetch_nodes() where nodes are ordered by ID, edges returned by expand() have no explicit order, and results with limit should not be considered reproducible or representative.↩︎