Description Usage Arguments Examples
'connect' sets params such as the REST API URL, port, db username and password, In the newer versions of neo4j default requires username and password. If this is the first time connecting to a new neo4jDB, please index the nodes else the queries will be very slow.
1 2 |
url |
url to running instance of neo4j |
port |
port |
username |
username |
password |
password |
test |
run test to show connection success or failure |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
connect(url="127.0.0.1", port=7474, username="neo4j", password="neo4j")
If this is your first time connecting to omics DB please index the nodes, using `index`
else query speed will be very slow.
Sending test query: Searching for K00001
#A successful connection will give the following
Connection Successful
Found these indices:
property_keys label
1 contig contigs
2 bin contigs
3 cpd cpd
4 ko ko
5 taxid Taxon
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.