setLayoutProperties | R Documentation |
Sets the specified properties for the specified layout. Unmentioned properties are left unchanged.
setLayoutProperties(obj, layout.name, properties.list)
obj |
a CytoscapeConnectionClass object. |
layout.name |
a string object. |
properties.list |
a a named list with as many entries as
you wish to modify |
None.
Paul Shannon
layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyType getLayoutPropertyValue
cy <- CytoscapeConnection () prop.names <- getLayoutPropertyNames (cy, 'isom') print (prop.names) # "maxEpoch" "sizeFactor" "radiusConstantTime" "radius" "minRadius" "initialAdaptation" "minAdaptation" "coolingFactor" print (getLayoutPropertyValue (cy, 'isom', 'radiusConstantTime')) # modify just two of the eight properties; the others are unchanged setLayoutProperties (cy, 'isom', list (radiusConstantTime=4, radius=20))