ltopo.rb: LUNA plotting

View source: R/luna.R

ltopo.rbR Documentation

LUNA plotting

Description

draws a 'topoplot' using a red-blue color scale

Usage

ltopo.rb(
  c,
  z,
  flt = rep(T, length(z)),
  sz = 1,
  zlab = "",
  mt = "",
  zlim = NULL,
  th = NULL,
  th.z = z,
  show.leg = F,
  zeroed = T,
  head = F,
  col = (grDevices::colorRampPalette(c("blue", "white", "red")))(101),
  ring.lwd = 1
)

Arguments

c

vector of channel labels

z

vector of values to plot (same length as c)

flt

boolean filter of length equal to length(c)

sz

integer: size of channel circles plotted (default = 1)

zlab

label for Z-axis

mt

main title label

zlim

set Z range (defaults to observed range)

th

single numeric value threshold for highlighting certain channels (default NULL)

th.z

vector, same length as c and z; channels with th.z \ge th are highlighted

show.leg

boolean: plot a legend (default T)

zeroed

boolean: make Z range symmetric around zero if T (default = F)

head

boolean: draw simple head image (circle, default = F)

col

101-valued palette, defaults to grDevices::colorRampPalette(c("blue", "white", "red"))(101)

ring.lwd

width of rings around highlighted channels (defaults to 1)#'

Value

plot is generated in the current graphics device; no return value

Note

ltopo.rb(...) is the same as ltopo.heat(...) with zeroed = T and a different color scheme (blue as negative, red as positive, white as 0)


remnrem/luna documentation built on June 1, 2025, 2:14 p.m.