You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to take the transitive closure with respect to some predicate would be useful in some cases. These can be really heavy, so rather than have the engine produce them, we should implement it for a local query graph.
Some thought should be given to other predicates hanging off the nodes involved. For example, in this graph: (phenotype Z) <-[has_phenotype]- (disease A) <-[sublass_of]- (disease B) <-[subclass_of]- (disease C) <-[causes]- (Gene G) When computing the transitive closure, the user might want to include z <-[has_phenotype]- C and similar, or even something like A <-[causes some]- G.
(This is motivated by a recent use case. We had a number of patients in EHR data with diagnoses of Lysosomal storage disorders, some very specific diagnoses with a single causal gene directly connected, others more generic, but their subtypes were all caused by the same gene, and others were more generic still, with different subytpes caused by different genes. We wanted to know which patients we could unambiguously identify the causal gene for. This is solvable with lots of queries to the engine (one per LSD subtype), but a transitive closure with features described above would be a more efficient solution.)
The text was updated successfully, but these errors were encountered:
Being able to take the transitive closure with respect to some predicate would be useful in some cases. These can be really heavy, so rather than have the engine produce them, we should implement it for a local query graph.
Some thought should be given to other predicates hanging off the nodes involved. For example, in this graph:
(phenotype Z) <-[has_phenotype]- (disease A) <-[sublass_of]- (disease B) <-[subclass_of]- (disease C) <-[causes]- (Gene G)
When computing the transitive closure, the user might want to includez <-[has_phenotype]- C
and similar, or even something likeA <-[causes some]- G
.(This is motivated by a recent use case. We had a number of patients in EHR data with diagnoses of Lysosomal storage disorders, some very specific diagnoses with a single causal gene directly connected, others more generic, but their subtypes were all caused by the same gene, and others were more generic still, with different subytpes caused by different genes. We wanted to know which patients we could unambiguously identify the causal gene for. This is solvable with lots of queries to the engine (one per LSD subtype), but a transitive closure with features described above would be a more efficient solution.)
The text was updated successfully, but these errors were encountered: