Learn R Programming

RCy3 (version 1.2.0)

hidePanel: hidePanel

Description

The specified panel will be hidden, and no longer visible in the Cytoscape Desktop of, if floating, elsewhere on the computer screen. The panelName parameter is very flexible: a match is defined as a case-independent match of the supplied panelName to any starting characters in the actual panelName. Thus, 'd' and 'DA' both identify 'Data Panel'. Possible options also include: 'WEST', 'EAST', 'SOUTH', 'SOUTH_WEST'. The 'SOUTH' panel is the Data Panel and the 'WEST' panel is the control panel.

Usage

hidePanel(obj, panelName)

Arguments

obj
a CytoscapeConnectionClass object.
panelName
a character string, providing a partial or complete case-independent match to the start of the name of an actual panel.

Value

Nothing.

See Also

floatPanel dockPanel hideAllPanels

Examples

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

  cy <- CytoscapeConnection ()
  hidePanel (cy, 'Control Panel')
   # or
  hidePanel (cy, 'c')
    # or
  hidePanel (cy, 'WEST')

Run the code above in your browser using DataLab