login: Log in to the local neo4j server

View source: R/helpers.R

loginR Documentation

Log in to the local neo4j server

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

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

## 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 15, 2023, 8:45 p.m.