ndex_network_aspect_get_metadata: Get the Metadata Associated with a Network UUID

View source: R/ndex_networks_aspects_and_metadata.r

ndex_network_aspect_get_metadataR Documentation

Get the Metadata Associated with a Network UUID

Description

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

Usage

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

## 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') 

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