plot_tric: Plot the time course of an independent component at each...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plot_tric.R

Description

Plots an independent component at each trial optionally with a noise signal overlaid on top of it.

Usage

1
2
3
plot_tric(x, ic, noise.sig = NULL, S = "S0",
trial.cn = "Trial", trials = NULL, n.win = 10, 
new.page = TRUE, ...)

Arguments

x

An icac object as returned by the function of the same name.

ic

Integer. An independent component.

noise.sig

The channel(s) against which the independent components (ICs) were correlated. Defaults to NULL, which means that no noise signall is superimposed on the IC time course.

S

The corrected ("S0") or uncorrected ("S") source matrix.

trial.cn

The quoted column name containing the trial information. Defaults to "Trial".

trials

The trials to plot. Defaults to NULL, i.e., all trials will be plotted.

n.win

Integer. The number of time courses to plot one on top of the other. Defaults to 10.

new.page

Integer. The number of time courses to plot. Defaults to NULL, which results in the number time courses per window equal to the number of channels to plot up to 10.

...

Unused.

Details

The number in red to the far left indicates which trial is being plotted. The IC is plotted in black. If an IC correlated above threshold with the noise signal, the noise signal is plotted in blue. Otherwise, it is plotted in grey.

Value

A plot.

Author(s)

Antoine Tremblay, Dalhousie University, trea26@gmail.com

See Also

fastICA; icac; mwd.thrsh; plot_avgba; plot_trba; plot_nic; summary.icac; topo_ic; 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.