Learn R Programming

icaOcularCorrection (version 3.0.0)

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

Description

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

Usage

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.

Value

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.

See Also

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

Examples

Run this code
### See vignette for examples.

Run the code above in your browser using DataLab