Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setNodeCustomRingChart

Set Node Custom Ring Chart


Description

Makes a ring chart per node using specified node table columns by setting a default custom graphic style.

Usage

setNodeCustomRingChart(
  columns,
  colors = NULL,
  startAngle = 0,
  holeSize = 0.5,
  slot = 1,
  style.name = NULL,
  base.url = .defaultBaseUrl
)

Arguments

columns

List of node column names to be displayed.

colors

(optional) List of colors to be matched with columns or with range, depending on type. Default is a set of colors from an appropriate Brewer palette.

startAngle

(optional) Angle to start filling ring Default is 0.0.

holeSize

(optional) Size of hole in ring. Ranges 0-1. Default is 0.5.

slot

(optional) Which custom graphics slot to modify. Slots 1-9 are available for independent charts, gradients and images. Default is 1.

style.name

(optional) Name of style; default is "default" style

base.url

(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3.

Value

None

See Also

setNodeCustomPosition, removeNodeCustomGraphics

Examples

setNodeCustomRingChart(c("data1","data2","data3"))

RCy3

Functions to Access and Control Cytoscape

v2.10.2
MIT + file LICENSE
Authors
Alex Pico [aut, cre] (<https://orcid.org/0000-0001-5706-2163>), Tanja Muetze [aut], Paul Shannon [aut], Ruth Isserlin [ctb], Shraddha Pai [ctb], Julia Gustavsen [ctb], Georgi Kolishovski [ctb]
Initial release
2020-11-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.