rcx_asNewNetwork {ndexr}R Documentation

Remove all interfering NDEx artefacts from RCX object

Description

Remove all interfering NDEx artefacts from RCX object

Usage

rcx_asNewNetwork(rcx)

Arguments

rcx

RCX object

Details

After a RCX object is downloaded from an NDEx server, it will contain some aspects that are not present in a newly generated network, i.e. ndexStatus', provenanceHistory' and 'status'. Removing those aspects might be useful in some cases.

Value

RCX object

See Also

rcx_fromJSON

Examples

## Create an RCX object
rcx = rcx_new(c('@id'=1, n='Some Name', r='HGNC:Symbol'))
## Remove NDEx artefacts
rcx = rcx_asNewNetwork(rcx)
## Not run: 
rcxjson = rcx_toJSON(rcx)
ndex_create_network(ndexcon, rcxjson)

## End(Not run)

[Package ndexr version 1.8.0 Index]