rcx_asNewNetwork: Remove all interfering NDEx artefacts from RCX object

Description Usage Arguments Details Value See Also Examples

View source: R/ndex_RCX.r

Description

Remove all interfering NDEx artefacts from RCX object

Usage

1

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

1
2
3
4
5
6
7
8
9
## 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)

ndexr documentation built on March 13, 2021, 2 a.m.