rcx_asNewNetwork {ndexr} | R Documentation |
Remove all interfering NDEx artefacts from RCX object
rcx_asNewNetwork(rcx)
rcx |
RCX object |
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.
RCX
object
## 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)