View source: R/channel_management.R
plot_electrodes | R Documentation |
Produces either a 2D plot of the electrode locations or an interactive plot of electrode locations in 3D space.
plot_electrodes(data, interact = FALSE) ## Default S3 method: plot_electrodes(data, interact = FALSE) ## S3 method for class 'eeg_data' plot_electrodes(data, interact = FALSE) ## S3 method for class 'eeg_tfr' plot_electrodes(data, interact = FALSE)
data |
Data with associated electrode locations to be plotted. |
interact |
Choose 2D cartesian layout, or, if set to TRUE, an interactive 3D plot of electrode locations. Defaults to FALSE. |
A ggplot
or plotly
figure showing the locations of the
electrodes
default
: generic plot electrodes function
eeg_data
: Plot electrodes associated with an eeg_data
object.
eeg_tfr
: Plot electrodes associated with an eeg_data
object.
Matt Craddock matt@mattcraddock.com
plot_electrodes(demo_epochs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.