ltopo.heat: LUNA plotting

View source: R/luna.R

ltopo.heatR Documentation

LUNA plotting

Description

draws a 'topoplot' using a heatmap color scale

Usage

ltopo.heat(
  c,
  z,
  sz = 1,
  flt = rep(T, length(z)),
  zlab = "",
  mt = "",
  zlim = NULL,
  th = NA,
  th.z = z,
  show.leg = F,
  zeroed = F,
  head = F
)

Arguments

c

vector of channel labels

z

vector of values to plot (same length as c)

sz

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

flt

boolean filter of length equal to length(c)

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)

Value

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

Examples

## Not run: 
ltopo.heat(psd$CH, psd$PSD, flt = psd$F == 15, sz = 3, zlab = "Power 15 Hz", mt = "Plot 1")

## End(Not run)

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