About the Possibility of Performing Time- and Frequency-Resolved (Spectral) MVPA using MVPAlab #17
-
Dear David, I just wanted to kindly ask whether it is possible to perform Time- and frequency-resolved MVPA using the toolbox. To my understanding MVPAlab requires input.data, input.times, input.fs, and input.format as the input, hence using [electrodes x timepoints x trials] as a feature. Would it be possible to modify the custom data, time-frequency decompose it and use [electrodes x timepoints x trials x frequency] as a feature in a time and frequency resolved manner, thus performing spectral MVPA for each timepoint and frequency by modifying the input.data accordingly? In other words, instead of using raw value activation patterns (i.e., raw voltage) as features, using power value patterns as features in this fashion? On another note, from the reference paper of MVPAlab, I noticed this statement: "...As mentioned, MVPAlab Toolbox was initially designed to work with epoched M/EEG data, extracting the raw potential of the signal and computing time-resolved classification analyses. The latest release supports different signal characteristics as features, such as the power envelope or the instantaneous phase of the signal." Does the latest release support instantaneous phase of the signal as a feature as well? Thank you so much for your time and immense effort. I'm looking forward to hearing about this. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Dear Bati, Unfortunately, at the moment it is not possible to directly compute TF resolved MVPA in the toolbox. However, I guess you could try to previously decompose your time resolved data in different frequency bands, and use them as inputs of regular time-resolved MVPA analyses. It shouldn't be difficult to concatenate the obtained results and plot them in a n_freq x n_timepoints matrix. The instantaneous phase of the signal was not finally implemented in the released version of the toolbox. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi David, Since I finished the decomposition, I will follow the procedure described here now, the data that I have has 30 frequencies, from 1-30 Hz. I wanted to ask will I loop through each of them and then compute the regular MVPA by using the run_mvpa.m? And then will I able to plot it as usual using the MVPAlab plotting functions? Thanks, |
Beta Was this translation helpful? Give feedback.
Dear Bati,
Unfortunately, this feature has not been implemented. The classifier currently iterates over each time point but not across different frequency bands. To achieve the desired behavior, you should decompose your data beforehand. Then, you need to create a loop for each frequency band of interest and compute the regular MVPA analysis for each iteration. Save the obtained results in different files and represent them in the same plot at the end.
I understand that this is not straightforward solution, and coding is necessary to obtain the desired results, but it's the best solution that comes to my mind at the moment.
Alternatively, you could follow a similar approach for computing …