topo_ic: Plot the topographic map of an independent component.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/topo_ic.R

Description

coming soon

Usage

1
2
3
4
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

A topographic plot of an independent component.

Author(s)

Antoine Tremblay, Dalhousie University, trea26@gmail.com

See Also

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

Examples

1
### See vignette for examples.

Example output

Loading required package: fastICA
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-27. For overview type 'help("mgcv-package")'.

icaOcularCorrection documentation built on May 29, 2017, 1:53 p.m.