Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-14-2020 09:44 AM
I have a bunch of nodes with unique_patients
property as a list. I want to connect any two nodes through a relationship based on the non-empty intersection of this property. So far, my attempt in getting the number of intersections is as follows -
MATCH (a:Gene)
MATCH (b:Gene)
RETURN apoc.coll.intersection(a.unique_patients ,b.unique_patients) AS intersection;
However, this gives both empty and non-empty intersections. My questions are as follows:
Thanks in advance.
03-14-2020 10:31 AM
Hi Kasthuri,
Could you please explain the scenario and question based on sample data
All the sessions of the conference are now available online