clusterrandanalysis

Peter Praamstra P.PRAAMSTRA at BHAM.AC.UK
Sun Oct 1 14:08:41 CEST 2006


Dear Robert / other fieldtrippers,
I´m looking for advice on the following.

I´m trying to do clusterrandanalysis on TFR data with the cfg.
statistic=´actvsblT´ option. The tutorial `Cluster-level randomization tests´
gives an example in which separate TFRs are calculated for activation and
baseline data. The clusterrandanalysis.m documentation also states that two
datasets must be passed.

However, I´d like to make the activation vs baseline comparison work for
baseline and activation TF windows identified in single TFRs that include a
prestimulus and a poststimulus period. To do so, I used cfg. latency, cfg.
frequency and cfg. keepindividual with freqgrandaverage to create separate
datastructures for the baseline and activation timefrequency windows of
interest.

Unfortunately, this doesn´t work. I get an error message:
??? Error using ==> clusterrandanalysis
Not all time points in the first data set are in the activation (post-stimulus)
period.
This is probably due to clusterrandanalysis expecting a positive time axis for
the activation data and a negative time axis for the baseline data. Hence,
although I defined TF windows of equal length for activation and baseline, it
looks like Fieldtrip is unable to ignore the original, but irrelevant, time axis
definition.

I considered reading in the same data twice (through freqgrandaverage) with
different definitions of the time axes. However, this would still require
clusterrandanalysis to deal with activation and baseline TF windows that are
not matched in time on the time axes of their respective datastructures. So I
suspect it would still not work.

Any advice on how I could work around this would be greatly appreciated.

Best wishes,
Peter Praamstra


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20061001/662e301e/attachment.html>


More information about the fieldtrip mailing list