setNodeAttributes {cyjShiny} | R Documentation |
Assign the supplied node attribute values to the graph structure contained in the browser.
Description
Assign the supplied node attribute values to the graph structure contained in the browser.
Usage
setNodeAttributes(session, attributeName, nodes, values)
Arguments
session |
a Shiny Server session object. |
attributeName |
character string, the attribute to update. |
nodes |
a character vector the names of the nodes whose attributes are updated. |
values |
a character, logical or numeric vector, the new values. |
Value
Nothing
Examples
## Not run:
setNodeAttributes(session,
attributeName = attribute,
nodes = yeastGalactodeNodeIDs,
values = expression.vector
)
## End(Not run)
[Package cyjShiny version 1.0.42 Index]