Learn R Programming

icaOcularCorrection (version 3.0.0)

topo_ic: Plot the topographic map of an independent component.

Description

coming soon

Usage

topo_ic(x, ic, coords = c("bosemi.32","egi.129", "neuromag.306.mag", "neuromag.306.plan1", "neuromag.306.plan2"), col = "topo", xlab="left to right", ylab="back to front", k = NULL, bs = "cr", too.far = NULL, ...)

Arguments

x
An icac object as returned by the function of the same name.
ic
Integer. The number of the independent component to plot.
coords
Either one of "bosemi.32", "egi.129", "neuromag.306.mag", "neuromag.306.plan1", or "neuromag.306.plan2", or a data frame containing the x- and y-coordinates of each electrode. In the latter case, the data frame has to have columns "x", "y", and "Channel" (the names of the electrodes).
col
The colour scheme to use for plots. One of "topo", "heat", "cm", "terrain", "gray" or "bw". Schemes "gray", "grey", and "bw" also modify the colors used.
xlab, ylab
Titles for the axes. Numbers will be coerced to character strings. Defaults to "left to right" and "back to front", respectively.
k
The dimension of the basis used to represent the smooth term (for interpolation). Defaults to NULL, i.e., its value depends on the coordinate system. See te from package mgcv for details.
bs
A two letter character string indicating the smoothing basis to be used for interpolation. Defaults to "cr". See smooth.terms from package mgcv for an over view of what is available.
too.far
Numeric. Plot grid nodes that are too far from the channels can be excluded from the plot. too.far determines what is too far. Defaults to NULL, i.e., its value depends on the coordinate system. NA to disable.
...
Further arguments to be passed to function vis.gam from packages mgcv.

Value

See Also

fastICA; icac; mwd.thrsh; plot_avgba; plot_trba; plot_nic; plot_tric; summary.icac; update.icac.

Examples

Run this code
### See vignette for examples.

Run the code above in your browser using DataLab