setNodeAttributes: setNodeAttributes

Description Usage Arguments Details Value Examples

Description

setNodeAttributes put somewhat more detailed description here

Usage

1
2
## S4 method for signature 'RCyjs'
setNodeAttributes(obj, attribute, nodes, values)

Arguments

obj

an RCyjs instance

attribute

a character string

nodes

character strings - node ids

values

scalar values, all of one type (all numeric, or all character, or all integer, ...)

Details

multi-line description goes here with continuations on subsequent lines if you like

Value

explain what the method returns

Examples

1
2
3
4
5
6
7
8
if(interactive()){
   g <- simpleDemoGraph()
   rcy <- RCyjs(title="rcyjs demo", graph=g)
   layout(rcy, "cose")
   fit(rcy, 100)
   setNodeAttributes(rcy, "lfc", c("A", "B", "C"), c(0, 0, 0))
   redraw(rcy)
   }

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.