getLayoutPropertyValue | R Documentation |
Returns the appropriately typed value of the specified tunable property for the specified layout.
getLayoutPropertyValue(obj, layout.name, property.name)
obj |
a CytoscapeConnectionClass object. |
layout.name |
a string object. |
property.name |
a string object. |
Typically an integer, numeric or string value, the current setting of this property for this layout.
Paul Shannon
layoutNetwork getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyType setLayoutProperties
cy <- CytoscapeConnection () prop.names <- getLayoutPropertyNames (cy, 'isom') print (prop.names) # "maxEpoch" "sizeFactor" "radiusConstantTime" "radius" "minRadius" "initialAdaptation" "minAdaptation" "coolingFactor" sapply (prop.names, function (pn) getLayoutPropertyValue (cy, 'isom', 'coolingFactor')) # maxEpoch sizeFactor radiusConstantTime radius minRadius initialAdaptation minAdaptation coolingFactor # 2 2 2 2 2 2 2 2