ndex_network_get_metadata: Get Network CX Metadata Collection

View source: R/ndex_networks_aspects_and_metadata.r

ndex_network_get_metadataR Documentation

Get Network CX Metadata Collection

Description

This function retrieves the (aspect) meta-data of the network identified by the supplied network UUID string.

Usage

ndex_network_get_metadata(ndexcon, networkId)

Arguments

ndexcon

object of class NDExConnection linkndex_connect

networkId

character; unique ID (UUID) of the network

Details

Note: In future 'ndexr' uses the RCX-object from the corresponding package to handle the networks! See also Meta-data for more information.

Value

metadata as list: consistencyGroup, elementCount, lastUpdate, name, properties, version and idCounter

REST query

GET: ndex_config$api$network$aspect$getMetaData

Note

Compatible to NDEx server version 1.3 and 2.0, but doesn't work for version 1.3

Examples

## Establish a server connection
ndexcon = ndex_connect()
## Find a network and get its UUID
networks = ndex_find_networks(ndexcon,"p53", "nci-pid")
networkId = networks[1,"externalId"]
## Get the network meta-data
ndex_network_get_metadata(ndexcon, networkId) 

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