Description Usage Arguments Value Author(s) See Also Examples
Returns the type of one of the tunable properties (property.name) for the specified layout.
1 | getLayoutPropertyType(obj, layout.name, property.name)
|
obj |
a |
layout.name |
a |
property.name |
a |
A character string specifying the type. These types do not always necessarily need to be R types.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyValue setLayoutProperties
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## 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) getLayoutPropertyType (cy, 'isom', pn))
# maxEpoch radiusConstantTime radius minRadius
# "int" "int" "int" "int"
# initialAdaptation minAdaptation sizeFactor coolingFactor
# "double" "double" "double" "double"
# singlePartition
# "boolean"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.