setNodeCustomBarChart: Set Node Custom Bar Chart

View source: R/StyleDefaults.R

setNodeCustomBarChartR Documentation

Set Node Custom Bar Chart

Description

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

Usage

setNodeCustomBarChart(
  columns,
  type = "GROUPED",
  colors = NULL,
  range = NULL,
  orientation = "VERTICAL",
  colAxis = FALSE,
  rangeAxis = FALSE,
  zeroLine = FALSE,
  axisWidth = 0.25,
  axisColor = "#000000",
  axisFontSize = 1,
  separation = 0,
  slot = 1,
  style.name = NULL,
  base.url = .defaultBaseUrl
)

Arguments

columns

List of node column names to be displayed, in order.

type

Type of bar chart: GROUPED (default), STACKED, HEAT_STRIPS, or UP_DOWN

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.

range

(optional) Min and max values of chart. Default is to use min and max from specified data columns.

orientation

(optional) HORIZONTAL or VERTICAL (default).

colAxis

(optional) Show axis with column labels. Default is FALSE.

rangeAxis

(optional) Show axis with range of values. Default is FALSE.

zeroLine

(optional) Show a line at zero. Default is FALSE.

axisWidth

(optional) Width of axis lines, if shown. Default is 0.25.

axisColor

(optional) Color of axis lines, if shown. Default is black.

axisFontSize

(optional) Font size of axis labels, if shown. Default is 1.

separation

(optional) Distance between bars. Default is 0.0.

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


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


cytoscape/RCy3 documentation built on Nov. 1, 2024, 2:49 a.m.