setNodeAttributes: Assign the supplied node attribute values to the graph...

View source: R/cyjShiny.R

setNodeAttributesR 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)


cyjShiny documentation built on March 31, 2023, 10:24 p.m.