login: Log in to the local neo4j server

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Before running login(), you have to successfully finish the Reactome Neo4j database setup and build a connection on your local machine (details see: https://github.com/reactome/ReactomeGraph4R). This command is to create a neo4r object that is used to communicate between R and Neo4j, also to do a sanity check for the connection.

Usage

1
login(con = NULL)

Arguments

con

an existed connexion object. It is not necessary to log in for the first time.

Value

connection to the local neo4j database

Examples

1
2
3
4
5
6
7
## Not run: 
# The first step to the graph database!
login()

## End(Not run)
# you can also check the neo4r connexion object by running:
getOption("con")

reactome/ReactomeGraph4R documentation built on May 29, 2021, 7:42 a.m.