updateMetaDataProperties | R Documentation |
The Meta-data
aspect contains meta-data about the aspects in the RCX-object
.
Properties that need to be fetched or updated independently of aspect data are added with this function.
updateMetaDataProperties(rcx, aspectName, property)
rcx |
RCX object; |
aspectName |
character; name of the aspect as displayed in |
property |
named list; property as key-value pairs (empty list to remove all) |
RCX object with updated Meta-data
aspect
## prepare RCX object: nodes = createNodes(name = c("a","b","c","d","e","f")) edges = createEdges(source=c(1,2,0,0,0,2), target=c(2,3,1,2,5,4)) rcx = createRCX(nodes, edges) cySubNetworks = createCySubNetworks( id = c(1,2), nodes = list("all", c(1,2,3)), edges = list("all", c(0,2)) ) rcx = updateCySubNetworks(rcx, cySubNetworks) ## add properties for edges updateMetaDataProperties(rcx, "edges", list(some="value", another="VALUE")) ## remove properties for edges updateMetaDataProperties(rcx, "edges", list())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.