ndex_network_aspect_get_metadata: Get the Metadata Associated with a Network UUID

Description Usage Arguments Value REST query Note Examples

View source: R/ndex_networks_aspects_and_metadata.r

Description

This function retrieves the metadata associated with the supplied network UUID.

Usage

1
ndex_network_aspect_get_metadata(ndexcon, networkId, aspect)

Arguments

ndexcon

object of class NDExConnection linkndex_connect

networkId

character; unique ID (UUID) of the network

aspect

character; aspect name

Value

metadata for an aspect as list: consistencyGroup, elementCount, lastUpdate, data, name, properties, version and idCounter

REST query

GET: ndex_config$api$network$aspect$getMetaDataByName

Note

Compatible to NDEx server version 2.0

Server error (version 2.0) since March 13th 2017

Examples

1
2
3
4
5
6
7
## 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 meta-data of an aspect of a network
ndex_network_aspect_get_metadata(ndexcon, networkId, 'nodeAttributes') 

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