Description Usage Arguments Value Author(s) See Also Examples
Sets the specified properties for the specified layout. Unmentioned properties are left unchanged.
1 | setLayoutProperties(obj, layout.name, properties.list)
|
obj |
a |
layout.name |
a |
properties.list |
a |
None.
Paul Shannon
layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyType getLayoutPropertyValue
1 2 3 4 5 6 7 | 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.