monarch-initiative / monarch-cypher-queries

4 stars 3 forks source link

Return a representative relation for path #22

Closed kshefchek closed 7 years ago

kshefchek commented 7 years ago

Adds relation to return statement when possible.

In a small subset of paths, pick a representative property, for example, 'has phenotype' for gene to phenotype associations inferred across a disease, or 'has genotype' for model/case to variant associations.

One exception is for model-gene and case-gene relationships as I could not find an appropriate relation. We need something like 'has gene of interest.'

See https://github.com/monarch-initiative/monarch-cypher-queries/issues/7