Learn R Programming

RCytoscape (version 1.22.0)

getLayoutPropertyType: getLayoutPropertyType

Description

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

Usage

getLayoutPropertyType(obj, layout.name, property.name)

Arguments

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

Value

A character string specifying the type. These types do not always necessarily to R types.

See Also

layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyValue setLayoutProperties

Examples

Run this code
  cy <- CytoscapeConnection ()
  prop.names <- getLayoutPropertyNames (cy, 'isom')
  print (prop.names)
    #  "maxEpoch" "sizeFactor" "radiusConstantTime"   "radius"  "minRadius" "initialAdaptation"  "minAdaptation" "coolingFactor" 
  sapply (prop.names, function (pn) getLayoutPropertyType (cy, 'isom',   pn))
   #    maxEpoch         sizeFactor  radiusConstantTime     radius    minRadius  initialAdaptation      minAdaptation      coolingFactor 
   #   "INTEGER"          "INTEGER"           "INTEGER"   "INTEGER"    "INTEGER"           "DOUBLE"           "DOUBLE"           "DOUBLE" 

Run the code above in your browser using DataLab