ndex_delete_network: Delete a network

Description Usage Arguments Value REST query Note Examples

View source: R/ndex_networks_simple_operations.r

Description

Delete a network

Usage

1
ndex_delete_network(ndexcon, networkId)

Arguments

ndexcon

object of class NDExConnection linkndex_connect

networkId

unique ID of the network

Value

NULL on success; Error else

REST query

DELETE: ndex_config$api$network$delete

Note

Requires an authorized user! (ndex_connect with credentials)

Compatible to NDEx server version 1.3 and 2.0

Examples

1
2
3
4
5
6
7
8
## Establish a server connections with credentials 
# ndexcon = ndex_connect('MyAccountName', 'MyPassword')
## Find a network and get its UUID
# networks = ndex_find_networks(ndexcon,"p53")
# networkId = networks[1,"externalId"] 
## Delete the network
# ndex_delete_network(ndexcon, networkId)
NULL

ndexr documentation built on April 29, 2020, 5:20 a.m.