[FieldTrip] cluster statistic error

Irina Simanova Irina.Simanova at mpi.nl
Thu Sep 1 16:19:42 CEST 2011


Dear Fieldtripers,

I am getting "Too many input arguments" error when running permutation  
test on event-related data. This has to do with the 'issource' input  
to "statistics_montecarlo":

I use same cfg parameters as in the tutorials for the permutation  
test. I got the error repeatedly few times on my own data, and then I  
checked that the error was still there for the tutorial datasets FIC,  
FC .


% this is the tutorial data. The cfg options are same as in the  
tutorials
[stat] = ft_timelockstatistics(cfg, timelockFIC, timelockFC);
selected 149 channels
selected 301 time bins
selected 1 frequency bins
Using the gradiometer configuration from the dataset.
there are on average 4.7 neighbours per channel
using "statistics_montecarlo" for the statistical testing
??? Error using ==> fieldtrip/private/statistics_montecarlo
Too many input arguments.

Error in ==> statistics_wrapper at 285
     [stat, cfg] = statmethod(cfg, dat, cfg.design,  
'issource',issource);

Error in ==> ft_timelockstatistics at 119
[stat, cfg] = statistics_wrapper(cfg, varargin{:});

What is wrong here?
I would appreciate any help.
Kind regards,
Irina





More information about the fieldtrip mailing list