\name{setLayoutProperties} \alias{setLayoutProperties} \alias{setLayoutProperties,CytoscapeConnectionClass-method} \title{setLayoutProperties} \description{ Sets the specified properties for the specified layout. Unmentioned properties are left unchanged. } \usage{ setLayoutProperties(obj, layout.name, properties.list) } \arguments{ \item{obj}{a \code{CytoscapeConnectionClass} object. } \item{layout.name}{a \code{string} object. } \item{properties.list}{a \code{a named list} with as many entries as you wish to modify } } \value{ None. } \author{Paul Shannon} \seealso{ layout getLayoutNames getLayoutNameMapping getLayoutPropertyNames getLayoutPropertyType getLayoutPropertyValue } \examples{ 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)) } \keyword{graph}