plot_scale: plot_scale

View source: R/plot-methods.R

plot_scaleR Documentation

plot_scale

Description

Plot the color scale used in visualization.

Usage

plot_scale(
  x,
  y,
  m = NULL,
  cex.axis = 1.5,
  label.step = 2,
  interval = 0.1,
  two.sided = TRUE,
  label.start = NULL,
  Nlab = 3,
  ...
)

Arguments

x

Breakpoints for the plot_

y

Color palette.

m

Breakpoints' upper limit.

cex.axis

Axis scale.

label.step

Density of the labels.

interval

Interval.

two.sided

Plot two-sided (TRUE) or one-sided (FALSE) visualization.

label.start

Label starting point.

Nlab

Number of labels to plot_

...

Further arguments for plot function.

Value

Used for its side-effects.

Author(s)

Leo Lahti <leo.lahti@iki.fi>

References

See citation('netresponse')

Examples

#
  #res <- detect.responses(D, netw, verbose = FALSE)
  #vis <- plot_responses(res, subnet.idx)
  #plot_scale(vis$breaks, vis$palette)

antagomir/netresponse documentation built on March 30, 2023, 7:24 a.m.