| rcx_toJSON {ndexr} | R Documentation |
Generate JSON data from RCX object
rcx_toJSON(rcx, verbose = FALSE, pretty = FALSE)
rcx |
RCX object |
verbose |
logical; whether to print out extended feedback |
pretty |
logical; adds indentation whitespace to JSON output |
json jsonlite json object if successfull, NULL otherwise
rcxgraph_fromRCX rcxgraph_toRCX rcx_fromJSON
## Create an RCX object
rcx = rcx_new(c('@id'=1, n='Some Name', r='HGNC:Symbol'))
## Convert to JSON
json = rcx_toJSON(rcx)