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

Importing EEG data from a data frame #137

Open Ali-Mahdipour opened 1 year ago

Ali-Mahdipour commented 1 year ago

I know this might be an odd question but I have already imported the eeg data (recorded in bva format) into R and cleaned it a little bit and added a segment column to the data frame. Since I should sync the EEG data with eye tracking events I had to get the events from an external file (recorded by the eye tracking software). Now I have a data frame which has EEG data in 16 channels (columns) and a column for subject IDs and an other column for segments. But since my data frame is not in eeg_data class I can not use eegUtils functions for further processing it. It appears that the only way to get this data class is to import the raw data using the respective functions mentioned in the guide. But I was wondering if I still can convert my data in a format which is compatible with the package. I also looked for similar questions in the issues but couldn't find any. Thanks for any advice in advance. Also thank you for building this amazing package :)