rcx_aspect_toJSON {ndexr} | R Documentation |
Generate JSON data for a single aspect of a RCX object
rcx_aspect_toJSON(rcxAspect, verbose = FALSE, pretty = FALSE)
rcxAspect |
aspect in RCX object (rcx[[aspectName]]) |
verbose |
logical; whether to print out extended feedback |
pretty |
logical; adds indentation whitespace to JSON output |
json object if successfull, empty string otherwise
## 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 aspect to JSON rcxNodesJson = ndexr:::rcx_aspect_toJSON(rcx$nodes)