Learn R Programming

RCy3 (version 1.2.0)

getLayoutPropertyNames: getLayoutPropertyNames

Description

Returns a list of the tunable properties for the specified layout.

Usage

getLayoutPropertyNames(obj, layout.name)

Arguments

obj
a CytoscapeConnectionClass object.
layout.name
a string object.

Value

A named list of strings.

See Also

layout getLayoutNames getLayoutNameMapping getLayoutPropertyType getLayoutPropertyValue setLayoutProperties

Examples

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

  cy <- CytoscapeConnection ()
  prop.names <- getLayoutPropertyNames (cy, 'isom')
  print (prop.names)
    # [1] "maxEpoch"           "radiusConstantTime" "radius"             "minRadius"         
    # [5] "initialAdaptation"  "minAdaptation"      "sizeFactor"         "coolingFactor"     
    # [9] "singlePartition"  

Run the code above in your browser using DataLab