Makes topoplots.
1 2 3 4 5 6 7 8 9 10 11 12 | MakeTopoPlot(
data,
chanLocs,
time_lim,
limits,
grid_res,
palette,
interp_limit,
contour,
highlights,
groups
)
|
data |
Input EEG. |
chanLocs |
NULL input supports BioSemi 64. Other options include BioSemi16, BioSemi32 BioSemi64alpha, BioSemi128, and BioSemi256. Other arrays may be imported as data frames with columns for channel number, channel label, and Cartesian x and y coordinates. |
time_lim |
Time point(s) to plot, that is, the time range to average across. If nont supplied, will average across all time points in the input data. |
limits |
Limits of the fill scale - should be given as a character vector with two values specifying the start and endpoints e.g. limits = c(-2,-2). Will ignore anything else. Defaults to the range of the data. |
grid_res |
Resolution of the interpolated grid. Higher = smoother but slower. Defaults to 200 points per edge. |
palette |
Defaults to RdBu if none supplied. Can be any palette from RColorBrewer or viridis. If an unsupported palette is specified, switches to Greens. |
interp_limit |
"skirt" or "head". Defaults to "skirt". "skirt" interpolates just past the farthest electrode and does not respect the boundary of the head_shape. "head" interpolates up to the radius of the plotted head, and moves all electrodes inside the head. |
contour |
Plot contour lines on topography (defaults to TRUE) |
highlights |
Electrodes to highlight (in white). |
groups |
Column name for groups to retain. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.