getLayoutPropertyValue: getLayoutPropertyValue

Description Usage Arguments Value Author(s) See Also Examples

Description

Returns the appropriately typed value of the specified tunable property for the specified layout.

Usage

1
getLayoutPropertyValue(obj, layout.name, property.name)

Arguments

obj

a CytoscapeConnectionClass object.

layout.name

a string object.

property.name

a string object.

Value

Typically an integer, numeric or string value, the current setting of this property for this layout.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyType setLayoutProperties

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cy <- CytoscapeConnection ()
  prop.names <- getLayoutPropertyNames (cy, 'isom')
  print (prop.names)
    # "maxEpoch"           "radiusConstantTime" "radius"             "minRadius"
    # "initialAdaptation"  "minAdaptation"      "sizeFactor"         "coolingFactor"
    # "singlePartition" 
  sapply (prop.names, function (pn) getLayoutPropertyValue (cy, 'isom', 'coolingFactor'))
    # maxEpoch radiusConstantTime             radius          minRadius 
    #       2                  2                  2                  2 
    # initialAdaptation      minAdaptation         sizeFactor      coolingFactor 
    #               2                  2                  2                  2 
    # singlePartition 
    #               2 

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.