Description Usage Arguments Value REST query Note Examples
View source: R/ndex_networks_aspects_and_metadata.r
This function updates an aspect with the provided CX for the aspect.
1  | ndex_network_update_aspect(ndexcon, networkId, aspectName, aspectAsRCX)
 | 
ndexcon | 
 object of class NDExConnection linkndex_connect  | 
networkId | 
 unique ID of the network  | 
aspectName | 
 name of the aspect  | 
aspectAsRCX | 
 rcx data for the aspect (rcx[[aspectName]])  | 
networkId unique ID of the modified network
PUT: ndex_config$api$network$aspect$update
Requires an authorized user! (ndex_connect with credentials)
Compatible to NDEx server version 2.0
1 2 3 4 5 6 7 8 9 10 11 12  | ## Establish a server connection with credentials 
# ndexcon = ndex_connect('MyAccountName', 'MyPassword')
## Find one of your networks and get its UUID
# networks = ndex_find_networks(ndexcon, accountName='MyAccountName')
# networkId = networks[1,"externalId"]
## Get the network data 
# aspect = ndex_network_get_aspect(ndexcon, networkId, 'nodeAttributes') 
## Do some changes to the aspect..
# aspectModified = aspect[1:5,]
## and update the aspect
# ndex_network_update_aspect(ndexcon,pws[1,"externalId"], 'nodeAttributes', aspectModified)
NULL
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.