Usage
plot_nic(x, data, ic, trial, noise.sig,
threshold = x$threshold, col = c("black", "blue"),
main = NULL, xlab = NULL, ylab = NULL, xlim = NULL,
ylim = NULL, cex = 0.7, trial.cn = "Trial", ...)
Arguments
x
An icac
object as returned by the function of the same name.
data
The uncorrected data that was supplied to function icac
.
ic
Numeric. An IC to plot.
trial
Numeric. A trial to plot.
noise.sig
Character. A noise signal. If missing, the first channel from x$channel
will be taken.
threshold
Numeric. The threshold at which the correlation between an IC and a noise signal at a specific trial is deemed "significant". Defaults to x$threshold
.
col
Vector. The colors to be used for plotting the noise signal (defaults to "black") and the IC if the correlation between the two reaches threshold (defaults to "blue").
xlim, ylim
x- and y-limits. These should be chosen to cover the range of values of the surface. Defaults to NULL
.
xlab, ylab
Titles for the axes. Numbers will be coerced to character strings.
main
Main title. Defaults to NULL
.
cex
A numerical value giving the amount by which plotting text and symbols should be magnified. Defaults to 0.7.
trial.cn
The quoted column name containing the trial information. Defaults to "Trial".
...
Further arguments to pass to plot
, lines
,
mtext
, and/or legend
.