print.NDExConnection {ndexr}R Documentation

Print a NDExConnection object

Description

This function creates an NDExConnection which stores options and authentication details. It is a parameter required for most of the other ndexr functions. If username and password are missing an anonymous connection is created, which already offers most of the retrieval functionality.

Usage

## S3 method for class 'NDExConnection'
print(x, ...)

Arguments

x

NDExConnection; stores options, authentication and api configuration

...

further arguments passed to or from other methods.

Value

Just prints the NDExConnection object

See Also

ndex_connect and ndex_config

Examples

ndexcon = ndex_connect()   ## log in anonymously
print(ndexcon)
ndexcon = ndex_connect(verbose=TRUE)   ## same as above with extended feedback
print(ndexcon)
## Not run: 
ndexcon = ndex_connect('user','password')   ## log in with credentials
print(ndexcon)
ndexcon = ndex_connect(host='localhost:8765')   ## running some NDEx server locally
print(ndexcon)
ndexcon = ndex_connect(ndexConf=ndex_config$Version_2.0)   ## manually change the api and connection configuration
print(ndexcon)

## End(Not run)

[Package ndexr version 1.0.4 Index]