rcx_toJSON: Generate JSON data from RCX object

Description Usage Arguments Value See Also Examples

View source: R/ndex_RCX.r

Description

Generate JSON data from RCX object

Usage

1
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

rcxgraph_fromRCX rcxgraph_toRCX rcx_fromJSON

Examples

1
2
3
4
## Create an RCX object
rcx = rcx_new(c('@id'=1, n='Some Name', r='HGNC:Symbol'))
## Convert to JSON
json = rcx_toJSON(rcx)

ndexr documentation built on March 13, 2021, 2 a.m.