Learn R Programming

cyjShiny (version 1.0.42)

setNodeAttributes: 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)

Value

Nothing

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.

Examples

Run this code
if (FALSE) {
setNodeAttributes(session,
  attributeName = attribute,
  nodes = yeastGalactodeNodeIDs,
  values = expression.vector
)
}

Run the code above in your browser using DataLab