rcx_toJSON {ndexr}R Documentation

Generate JSON data from RCX object

Description

Generate JSON data from RCX object

Usage

rcx_toJSON(rcx, verbose = FALSE, pretty = FALSE)

Arguments

rcx

RCX object

verbose

logical; whether to print out extended feedback

pretty

logical; adds indentation whitespace to JSON output

Value

json jsonlite json object if successfull, NULL otherwise

See Also

ngraph_fromRCX ngraph_toRCX rcx_fromJSON

Examples

## Establish a server connection
ndexcon = ndex_connect()
## Find a network and get its UUID
networks = ndex_find_networks(ndexcon,"p53")
networkId = networks[1,"externalId"]
## Get the network data 
rcx = ndex_get_network(ndexcon, networkId)
## Convert RCX to JSON
rcxjson = rcx_toJSON(rcx)

[Package ndexr version 1.0.4 Index]