ndex_delete_network: Delete a network

View source: R/ndex_networks_simple_operations.r

ndex_delete_networkR Documentation

Delete a network

Description

Delete a network

Usage

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

## Establish a server connections with credentials 
# ndexcon = ndex_connect('MyAccountName', 'MyPassword')
## Find a network and get its UUID
# networks = ndex_find_networks(ndexcon,"p53", "nci-pid")
# networkId = networks[1,"externalId"] 
## Delete the network
# ndex_delete_network(ndexcon, networkId)
NULL

frankkramer-lab/ndexr documentation built on April 4, 2023, 7:19 p.m.