Learn R Programming

RCytoscape (version 1.22.0)

setDefaultBackgroundColor: setDefaultBackgroundColor

Description

Retrieve the default color for the next CytoscapeWindow.

Usage

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, eg "java.awt.Color[r=204,g=204,b=255]"

Examples

Run this code
  cy <- CytoscapeConnection ()
  setDefaultBackgroundColor (cy, '#CCCC00')

Run the code above in your browser using DataLab