setNodeFontColor,RCyjs-method {RCyjs}R Documentation

setNodeFontColor

Description

setNodeFontColor set the specified nodes to the same specifed node font color

Usage

## S4 method for signature 'RCyjs'
setNodeFontColor(obj, nodeIDs, newValues)

Arguments

obj

an RCyjs instance

nodeIDs

a character string (one or more)

newValues

a character string, a legal CSS color name (one or more)

Value

no value returned

Examples

if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setNodeFontColor", graph=g)
  layout(rcy, "cose")
  setNodeFontColor(rcy, "red")
  }


[Package RCyjs version 2.6.0 Index]