setNodeAttributes | R Documentation |
Assign the supplied node attribute values to the graph structure contained in the browser.
setNodeAttributes(session, attributeName, nodes, values)
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. |
Nothing
## Not run:
setNodeAttributes(session,
attributeName = attribute,
nodes = yeastGalactodeNodeIDs,
values = expression.vector
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.