MEEG Searchlights¶
This exercise requires a separate dataset named meg_obj6; see download section. It also requires a working installation of FieldTrip.
Before starting this exercise, please make sure you have read about:
Part 1: MEEG univariate contrast¶
Load the MEEG obj6 data for subject s00. Read the README file to understand how the data is represented. Use cosmo meeg dataset to convert the dataset to a CoSMoMVPA dataset structure. How many sensors, time points and trials are in this dataset? Then compute, for each time point and sensor, the difference between face and scene stimuli. Visualize the results in FieldTrip for the magnetometers.
Part 2: MEEG time-course searchlight with classifier and cross-validation¶
Using the same data as above, define a time neighborhood for magnetometer sensors in the posterior part of the brain. Then, for each time point, use a classifier with cross-validation discriminating the six categories using data for the selected sensors, and plot a classification accuracy time course.
Part 3: MEEG time-course searchlight with split-half correlation measure¶
Using the same data as above, define chan (channel) and time neighborhoods; then cross these neighborhood for a space-time chan-by-time neighborhood. Using cosmo correlation measure, compute split-half correlation differences for each combination of time points and sensors.
Hint: run meeg timelock measures skl
Solution: run meeg timelock measures / Matlab output: run_meeg_timelock_measures
Part 4: MEEG channel-time-frequency searchlight with Naive Bayes classifier¶
This exercise requires a separate dataset named meg_20hz, part of the full tutorial data; see download section.
Certain questions in MEEG concern oscillations. For such analysis data is typically transformed into a time-frequency representation (for each channel) through a procedure called Fourier analysis. One question one can answer is whether power in a particular frequency band shows a different pattern across conditions.
In the exercise presented here, we use a dataset with somatosensory stimulation of the hand versus no stimulation. To localize when in time, in which frequency band, and in which channel this shows a difference in the neural patterns, use a searchlight over channels, time points and frequency bands.
Hint: run meeg timefreq measures skl
Solution: run meeg timefreq measures / Matlab output: run_meeg_timefreq_measures