[Eeglablist] Problems with statcondfieldtrip
Ramón Martinez
nucleuscub at gmail.com
Wed Oct 29 13:59:28 PDT 2014
Hi guys,
% Undefined function 'ft_freqstatistics' for input arguments of type
'struct'.
Check if you have installed the Fieldtrip plugin .
Ramon
On Wed, Oct 29, 2014 at 9:24 PM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
wrote:
> Dear Ramon,
>
> Here is the potential error report. Could you take a look?
>
> Makoto
>
> On Thu, Oct 23, 2014 at 8:24 AM, Eric HG <erichg2013 at gmail.com> wrote:
>
>> Dear list,
>>
>> I've been trying to use the statcondfieldtrip function to calculate
>> Monte Carlo correction by first creating a neighbor matrix for all 19
>> electrodes:
>>
>> neighbours(1).label = '';
>> neighbours(1).neighblabel = {};
>>
>> Then transforming the power data from structs to cells:
>>
>> DataCell{2,1} = PreS(freqb,:,:);
>> DataCell{1,1} = PostS(freqb,:,:);
>>
>> and then:
>>
>> [fval{freqb}, dfree{freqb}, pvalue{freqb}] =
>> statcondfieldtrip(DataCell, 'paired', 'on', 'clusterstatistic', 'maxsum',
>> 'neighbours', neighbours, 'method', 'montecarlo', 'naccu', [], 'mcorrect',
>> 'cluster', 'alpha', 0.05, 'numrandomization', [], 'structoutput', 'on');
>>
>> But it gives me the following error message:
>> Undefined function 'ft_freqstatistics' for input arguments of type
>> 'struct'.
>>
>> Error in statcondfieldtrip (line 175)
>> stat = ft_freqstatistics(cfg, newdata{:});
>>
>> Thank you,
>>
>> Eric
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>
>
>
> --
> Makoto Miyakoshi
> Swartz Center for Computational Neuroscience
> Institute for Neural Computation, University of California San Diego
>
--
_____________________________________________________
Ramon Martinez-Cancino
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20141029/84554538/attachment.html>
More information about the eeglablist
mailing list