Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execute a cypher ":param" statement? #83

Open
paul-shannon opened this issue Nov 29, 2020 · 0 comments
Open

execute a cypher ":param" statement? #83

paul-shannon opened this issue Nov 29, 2020 · 0 comments

Comments

@paul-shannon
Copy link

Having just learned how to set a variable in cypher, I hope now to do the same via neo4r, rather than programmatically building a large string in R.

In cypher:

:param reactions => ['R_HMR_4283', 'R_HMR_4372'];   # imagine this is 50 elements long
match(m1:Metabolite)-[:substrateOf]->(r:Reaction)-[:produces]->(m2:Metabolite) 
   where r.id IN $reactions return m1,r,m2;

Is it possible to execute the :param statement from R using neo4r?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant