clusterrandomization on 3D-data within-subject

Olga Sysoeva olga at GRAPHICMIND.INFO
Wed May 24 17:44:29 CEST 2006

Dear List member,

Sorry for such dull questions but,
I am again facing the new problems with Fieldtrip, although did not solve some previous one (still can not singleplot and multiplot anything 'cause of "unknown zparam field".

OK, about new one :-)

It seems that I did not use write the timelockgranaveraging.

 The problem must be here, when I made grand averaging of all my 11 subject

                  cfg =[];
                   cfg.keepindividual = 'yes'
                   C_vc11  =
 timelockgrandaverage(cfg,vc_c_avg1,vc_c_avg2,vc_c_avg3,vc_c_avg4,vc_c_avg5, vc_c_avg6,vc_c_avg7,vc_c_avg8,vc_c_avg9,vc_c_avg10,vc_c_avg11 );

As I understand the 
vc_c_avg11.avg([9],[43]) should be similar with C_vc11.individual ([11], [9], [43])
But it is not.
What can it be?

Best Regards,

  ----- Original Message ----- 
  From: Olga Sysoeva 
  Sent: Saturday, May 13, 2006 4:34 PM
  Subject: Re: [FIELDTRIP] clusterrandomization on 3D-data within-subject

  Thank you very much, Lilla!
  Now I knwo what to do but faced the problem with " unknown zparam field" when ploting the results. Unfortunatly cfg.zparam does not discribed in help file...
  Best Regards, Olga
    ----- Original Message ----- 
    From: Lilla Magyari 
    Sent: Saturday, May 13, 2006 3:11 PM
    Subject: Re: [FIELDTRIP] clusterrandomization on 3D-data within-subject

    Dear Olga,


    I am just studying time-frequency analysis but I have done already on my data, so perhaps I can help you.

    First, yes, you have to do freqanalysis on the preprocessed data of the individual subjects for all conditions that you want to compare (i.e. the input for this function contains all trials from one subject in one condition.) And it is also important that the other input for this function is the cfg where for example, in the cfg.method you have to specify what kind of time-frequency analysis you want to use. (You have to write 'wltconvol' for wavelet transformation and 'mltconvol' for multitaper analysis.)

    When you use freqanalysis as output you can get TFR for one subject in one condition (but it is also possible to keep the information for the individual trials of the condition by specifying cfg.keeptrials = 'yes'). When you have the TFRs for each subject you can grandaverage them with freqgrandaverage where the input is the TFRs of all subjects (and before averaging you can use also freqbaseline for giving a baseline for your TFRs).


    I hope it helps.


    Best regards,

    Lilla Magyari





    From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf Of Olga Sysoeva
    Sent: Saturday, May 13, 2006 9:28 AM
    Subject: [FIELDTRIP] clusterrandomization on 3D-data within-subject


    Dear list members,


    Thank you everybody for your help! I've already got interesting results using clusterrandomization on my data! Thanks a lot!


    Now I have a question about using the clusterrandomization on 3-D data (channel-time-frequency) in within-subject analysis. 

    As I understand it is possible with Fieldtrip, but I really newby in time-frequency anlysis, therefore wanted your comments, 

    as far as I didn't find the example of the application of clusteranalysis on this set of the data in tuturial.


    I successfully conduct the within-subject clusterrandomization on my grand-average data, which does not have the third, frequency demintion.

    Now I want to add it. But I could not apply freqanalyisis on grandavarage data, could I? Should I made the TFR of individual data and than grand-avarage the result?

    Which function should I use?


    Best Regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the fieldtrip mailing list