Learn R Programming

RCy3 (version 1.2.0)

getLayoutNames: getLayoutNames

Description

Retrieve the names of the currently supported layout algorithms. These may be used in subsequent calls to the 'layoutNetwork' function. Note that some of the more attractive layout options, from yFiles, cannot be run except from the user interface; their names do not appear here.

Usage

getLayoutNames(obj)

Arguments

obj
a CytoscapeConnectionClass object.

Value

A list of character strings, e.g., "jgraph-circle" "attribute-circle" "jgraph-annealing"

See Also

getLayoutNameMapping getLayoutNames getLayoutPropertyNames getLayoutPropertyType getLayoutPropertyValue setLayoutProperties

Examples

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

  cy <- CytoscapeConnection ()
  getLayoutNames (cy)
   #  [1] "jgraph-circle" "attribute-circle" "jgraph-annealing"  ...

Run the code above in your browser using DataLab