setDefaultBackgroundColor: setDefaultBackgroundColor

Description Usage Arguments Value Author(s) Examples

Description

Set the default color for the next CytoscapeWindow.

Usage

1
setDefaultBackgroundColor(obj, new.color, vizmap.style.name)

Arguments

obj

a CytoscapeConnectionClass object.

new.color

a character object, in quoted hexadecimal format

vizmap.style.name

a character object, 'default' by default

Value

A character string, a hexadecimal, e.g. #000000

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

Examples

1
2
3
4
5
6
7
8
9
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('setDefaultBackgroundColor.test', graph=makeSimpleGraph())
  setDefaultBackgroundColor (cw, '#CCCC00')
  cw2 <- CytoscapeWindow ('setDefaultBackgroundColor.test2', graph=makeSimpleGraph())

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.