craddm / eegUtils

An R package for processing and plotting of electroencephalography (EEG) data
https://craddm.github.io/eegUtils/
Other
105 stars 27 forks source link

TODO: #7

Open craddm opened 7 years ago

craddm commented 7 years ago
johnaeanderson commented 3 years ago

Can we add contours to geom_topo()? I like the default settings for topoplot, but can't get geom_contour() to work with the geom_topo() function.

craddm commented 3 years ago

Can we add contours to geom_topo()? I like the default settings for topoplot, but can't get geom_contour() to work with the geom_topo() function.

Hi John, It's coming in v0.6.1! Only way it could work was to borrow and modify a chunk of code from ggplot2, which I couldn't do until recently as their code was licensed under GPL v3.0. They're implemented on the use_new_summary branch at the moment while I test them out a bit more. You can also try the get_scalpmap function to extract the interpolated scalpmap and then try to use standard ggplot functions to do it manually.