finishes setup
This commit is contained in:
9
neo4jqueries/analysis_queries/query5.cypher
Normal file
9
neo4jqueries/analysis_queries/query5.cypher
Normal file
@@ -0,0 +1,9 @@
|
||||
// Drugs sharing the same side effects showing potential conflicts
|
||||
MATCH (c1:Compound)-[:BINDS]->(:Gene),
|
||||
(c1)-[:TREATS]->(:Disease),
|
||||
(c1)-[:TREATS]->(:Disease)<-[:TREATS]-(c2:Compound),
|
||||
(c1)-[:BINDS]->(g:Gene)
|
||||
WHERE c1 <> c2
|
||||
RETURN c1.name AS Drug1, c2.name AS Drug2, count(g) AS SharedTargets
|
||||
ORDER BY SharedTargets DESC
|
||||
LIMIT 20;
|
||||
Reference in New Issue
Block a user