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

Julian Keil julian.keil at gmail.com
Thu Aug 13 10:40:15 CEST 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150813/b62a183a/attachment-0002.sig>


More information about the fieldtrip mailing list