getLayoutPropertyType | R Documentation |
Returns a list of the tunable properties for the specified layout.
getLayoutPropertyType(obj, layout.name, property.name)
obj |
a CytoscapeConnectionClass object. |
layout.name |
a string object. |
property.name |
a string object. |
A character string specifying the type. These types do not always necessarily to R types.
Paul Shannon
layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyValue setLayoutProperties
cy <- CytoscapeConnection () prop.names <- getLayoutPropertyNames (cy, 'isom') print (prop.names) # "maxEpoch" "sizeFactor" "radiusConstantTime" "radius" "minRadius" "initialAdaptation" "minAdaptation" "coolingFactor" sapply (prop.names, function (pn) getLayoutPropertyType (cy, 'isom', pn)) # maxEpoch sizeFactor radiusConstantTime radius minRadius initialAdaptation minAdaptation coolingFactor # "INTEGER" "INTEGER" "INTEGER" "INTEGER" "INTEGER" "DOUBLE" "DOUBLE" "DOUBLE"