ngraph_toRCX {ndexr}R Documentation

Create RCX object from ngraph object

Description

This function creates an RCX object from a valid ngraph object.

Usage

ngraph_toRCX(ngraph, verbose = FALSE)

Arguments

ngraph

ngraph object

verbose

logical; whether to print out extended feedback

Details

The following rules apply to convert from ngraph to RCX:

Value

returns object of class RCX if successfull, NULL otherwise

See Also

ngraph ngraph_fromRCX rcx_fromJSON rcx_toJSON

Examples

## Establish a server connection
ndexcon = ndex_connect()
## Find one of your networks and get its UUID
networks = ndex_find_networks(ndexcon)
networkId = networks[1,"externalId"]
## Get the network data 
rcx = ndex_get_network(ndexcon, networkId) 
## Convert to nGraph
ngraph = ngraph_fromRCX(rcx) 
## Convert it back to rcx
rcx = ngraph_toRCX(ngraph)

[Package ndexr version 1.0.4 Index]