Learn R Programming

RCy3 (version 1.2.0)

getDefaultBackgroundColor: getDefaultBackgroundColor

Description

Retrieve the default background color for the next CytoscapeWindow.

Usage

getDefaultBackgroundColor(obj, vizmap.style.name)

Arguments

obj
a CytoscapeConnectionClass object.
vizmap.style.name
a character object, 'default' by default

Value

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

Examples

Run this code
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cy <- CytoscapeConnection ()
  print (getDefaultBackgroundColor (cy)) # a hex number
    # [1] "#FFFFFF"

Run the code above in your browser using DataLab