Learn R Programming

RCytoscape (version 1.22.0)

getNodeShapes: getNodeShapes

Description

Retrieve the names of the currently supported node shapes, which can then be used in calls to setNodeShapeRule and setDefaultVizMapValue

Usage

getNodeShapes(obj)

Arguments

obj
a CytoscapeConnectionClass object.

Value

A list of character strings, e.g., 'trapezoid', 'ellipse', 'rect'

Examples

Run this code
  cy <- CytoscapeConnection ()
  getNodeShapes(cy)
   # "trapezoid" "round_rect" "ellipse" "triangle"   "rect_3d" "diamond" "parallelogram" "octagon"   "trapezoid_2" "rect" "hexagon"

Run the code above in your browser using DataLab