ltopo.rb | R Documentation |
draws a 'topoplot' using a red-blue color scale
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
)
c |
vector of channel labels |
z |
vector of values to plot (same length as |
flt |
boolean filter of length equal to |
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 |
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 |
ring.lwd |
width of rings around highlighted channels (defaults to 1)#' |
plot is generated in the current graphics device; no return value
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.