[FieldTrip] Data structure for within-UO designs.

Cavallo, Umberto (Stud. FPN) u.cavallo at student.maastrichtuniversity.nl
Mon Apr 12 17:21:45 CEST 2021


Dear all,

I am an msc student and I am currently analysing eeg 64 channels data.

Particularly, i have a within subject design in which i have 12 conditions of interest and 30 subjects.

I am planning to do a cluster based permutation t-test, which i successfully carried out on a single participant (pilot data), however soon i will have to analyse data from 30 participants.

I have read all the tutorials pertaining this argument but i could not find the ERF_orig.mat file in the FTP server.

Thus, i wanted to ask you specifically about the data structure contained in that file.

Quoting from the "cluster-based permutation tests on event related fields"


"the timelock structures containing the event-related averages of all subjects.

ERF_orig contains allsubjFIC and allsubjFC, each storing the event-related averages for the fully incongruent, and the fully congruent sentence endings, respectively.

The format for these variables, are a prime example of how you should organise your data to be suitable for ft_XXXstatistics. Specifically, each variable is a cell-array of structures, with each subject's averaged stored in one cell. To create this data structure two steps are required. First, the single-subject averages were calculated individually for each subject using the function ft_timelockanalysis<https://github.com/fieldtrip/fieldtrip/blob/release/ft_timelockanalysis>. Second, using a for-loop we have combined the data from each subject, within each condition, into one variable (allsubj_FIC/allsubj_FC). We suggest that you adopt this procedure as well."


Now my question regards the timelock structure. How should it be organized and which fields should it contain?

Should it be obtained by specifying cfg.keeptrials?

Actually just having a look at the structure organization would solve my problem.


Thanks all for your time,

Best,

Umberto?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210412/50d60b81/attachment.htm>


More information about the fieldtrip mailing list