clusterrandanalysis input format

Rodrigo F. Salazar rsalazar at NERVANA.MONTANA.EDU
Fri Sep 21 19:15:36 CEST 2007


Hi Eric,

Thanks for your quick reply. I scanned the tutorials and I could not
find one that is using clusterrandanalysis.m. I only found a matlab
script named:

"Apply clusterrandanalysis on TFRs of power that were computed with
BESA"

but as it is only a script I cannot access the data.

So far I was capable to run freqanalysis.m by adapting my data to the
format described in the documentation. However, when I run
clusterranalaysis.m with the output of freqanalysis.m being 'freq'

[clusrand] = clusterrandanalysis(cfg2,freq,freq); % I am using twice
'freq' as a test run with cfg2.statistic: 'indepsamplesZcoh'

, I keep on getting errors such as :

??? Reference to non-existent field 'dof'.

Error in ==> fieldtrip-lite-20070920/private/clusterrandstatistics at
680
             dofc1=reshape(sum(data.dof(replselc1,:,:),1),
1,nfreq,ntime);

And if I had the option:

cfg.calcdof = 'yes'

to get the degree of freedom, I get this other error:

??? Undefined function or variable "cumtapcnt".

Error in ==> freqanalysis_mtmfft at 389
if calcdof && ~exist(cumtapcnt)

Could you please tell if I am using a wrong configuration variable or
if there is a problem in the code?

Thanks,

Rodrigo.


On Sep 20, 2007, at 9:56 AM, Rodrigo F. Salazar wrote:

> Hi,
>
> I am new to fieldtrip and I am working with intracortical data. I
> have never used any function of fieldtrip and I would like to use
> clusterrandanalysis.m using my own data format. I cannot find a
> clear description of the input needed for that function. Can
> someone quickly describe the input format or even send me an
> example of input data?
>
> Thanks,
>
> Rodrigo.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Rodrigo F. Salazar, Ph.D
> Post-doctoral Fellow
> Lewis Hall 1,
> Center for Computational Biology
> Montana State University
> Bozeman, 59717 MT, USA
> Phone: ++1 (406) 994 71 90,
> Fax: ++1 (406) 994 74 38
> email: rsalazar at nervana.montana.edu
> http://cns.montana.edu/~rsalazar/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>
>
> ----------------------------------
>
> The aim of this list is to facilitate the discussion between users
> of the FieldTrip toolbox, to share experiences and to discuss new
> ideas for MEG and EEG analysis.
>
> http://listserv.surfnet.nl/archives/fieldtrip.html
>
> http://www.ru.nl/fcdonders/fieldtrip/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rodrigo F. Salazar, Ph.D
Post-doctoral Fellow
Lewis Hall 1,
Center for Computational Biology
Montana State University
Bozeman, 59717 MT, USA
Phone: ++1 (406) 994 71 90,
Fax: ++1 (406) 994 74 38
email: rsalazar at nervana.montana.edu
http://cns.montana.edu/~rsalazar/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~







----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20070921/3fec6267/attachment-0002.html>


More information about the fieldtrip mailing list