[FieldTrip] EEG source localization: ft_sourcegrandaverage does not keep individual data

Kristoffer Appel krisappel at uos.de
Thu Aug 13 14:03:46 CEST 2015


Hi Julian,

thank you. Seems to work!

Cheers
Kristoffer

On 08/13/2015 10:40 AM, Julian Keil wrote:
> Hi Kristoffer,
>
> you don't have to average over subjects before computing the statistics.
> You can feed a cell structure with your source-level data into the ft_sourcestatistics function.
> E.g. stats = ft_sourcestatistics(cfg,data1{:},data2{:})
>
> Good Luck
>
> Julian
>
> Am 13.08.2015 um 10:32 schrieb Kristoffer Appel:
>
>> Hi all,
>>
>> I analyze data from an EEG experiment. Within-subject design, 8 subjects each produced trial data in two conditions.
>>
>> I have used ft_sourceanalysis on the data from ft_freqanalysis for obtaining the source data for each subject and each conditon, which works (at least ft_sourceplot shows something which seems to make sense).
>>
>> I use ft_sourcegrandaverage on the data of one condition of all 8 subjects, and a grand average is computed. So far, so good.
>>
>> But:
>> I specify   cfg.keepindividual = 'yes';
>> However, the single subject data are not kept, so I can't use ft_sourcestatistics.
>>
>> What could I have done wrong?
>>
>> Kind regards
>> Kristoffer
>>
>>
>>
>>
>> --
>> Kristoffer Appel, M.Sc.
>>
>> Institut für Kognitionswissenschaft
>> Universität Osnabrück
>> Albrechtstraße 28, 49076 Osnabrück
>> Raum: 31/405
>> Tel: +49-541-969-7090, Fax:+49-541-969-2246
>> Email: krisappel at uos.de
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-- 
Kristoffer Appel, M.Sc.

Institut für Kognitionswissenschaft
Universität Osnabrück
Albrechtstraße 28, 49076 Osnabrück
Raum: 31/405
Tel: +49-541-969-7090, Fax:+49-541-969-2246
Email: krisappel at uos.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150813/1a5c59e8/attachment-0002.html>


More information about the fieldtrip mailing list