setNodeImageDirect: setNodeImageDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the images of the specified nodes.

Usage

1
setNodeImageDirect(obj, node.names, image.urls)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

image.urls

one or more String objects. If just one, then this is replicated for each of the supplied node.names.

Value

None.

Author(s)

Paul Shannon

See Also

setNodeShapeDirect

Examples

1
2
3
4
5
6
  cw <- new.CytoscapeWindow ('setNodeImageDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setNodeImageDirect (cw, 'C', 'http://rcytoscape.systemsbiology.net/versions/current/images/bioc.png')
  redraw (cw)

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.