setNodeShape: setNodeShape

Description Usage Arguments Value Examples

Description

setNodeShape set the specified nodes to specifed shapes

Usage

1
2
## S4 method for signature 'RCyjs'
setNodeShape(obj, nodeIDs, newValues)

Arguments

obj

an RCyjs instance

nodeIDs

a character string (one or more)

newValues

a character string, one of the legitimate cytoscape.js node shapes

Value

no value returned

Examples

1
2
3
4
5
6
if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setNodeShape", graph=g)
  layout(rcy, "cose")
  setNodeShape(rcy, 80)
  }

PriceLab/RCyjs documentation built on May 10, 2019, 8:03 a.m.