\name{setEdgeTargetArrowRule} \alias{setEdgeTargetArrowRule} \alias{setEdgeTargetArrowRule,CytoscapeWindowClass-method} \title{specify the arrow types to be used at the end of an edge, at the 'target' node} \description{ Specify how data attributes -- for the specified named attribute -- are mapped to the target arrow type.} \usage{ setEdgeTargetArrowRule(obj, edge.attribute.name, attribute.values, arrows, default='Arrow') } \arguments{ \item{obj}{a \code{CytoscapeWindowClass} object. } \item{edge.attribute.name}{the edge attribute whose values will, when this rule is applied, determine the targetArrow of each edge.} \item{attribute.values}{A list of scalar, discrete values. For instance, interaction types: 'phosphorylates', 'ubiquinates', 'represses', 'activates' } \item{arrows}{One arrow type for each of the attribute.values} \item{default}{The arrow type to use when an explicit mapping is not provided.} } \value{ None. } \author{Paul Shannon} \seealso{ \code{\link{getArrowShapes}}} \examples{ cw <- new.CytoscapeWindow ('setEdgeTargetArrowRule.test', graph=makeSimpleGraph()) arrows <- c ('Arrow', 'Diamond', 'Circle') edgeType.values <- c ('phosphorylates', 'synthetic lethal', 'undefined') setEdgeTargetArrowRule (cw, 'edgeType', edgeType.values, arrows) redraw (cw) } \keyword{graph}