Description Usage Arguments Value Author(s) See Also Examples
Returns the appropriately typed value of the specified tunable property for the specified layout.
1 | getLayoutPropertyValue(obj, layout.name, property.name)
|
obj |
a |
layout.name |
a |
property.name |
a |
Typically an integer, numeric or string value, the current setting of this property for this layout.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyType setLayoutProperties
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.