# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cy <- CytoscapeConnection ()
prop.names <- getLayoutPropertyNames (cy, 'isom')
print (prop.names)
# [1] "maxEpoch" "radiusConstantTime" "radius" "minRadius"
# [5] "initialAdaptation" "minAdaptation" "sizeFactor" "coolingFactor"
# [9] "singlePartition"
print (getLayoutPropertyValue (cy, 'isom', 'radiusConstantTime'))
# [1] 4
# modify just two of the eight properties; the others are unchanged
setLayoutProperties (cy, 'isom', list (radiusConstantTime=4, radius=20))
Run the code above in your browser using DataLab