[FieldTrip] Question about cluster based permutation testing in ECOG data
Eelke Spaak
e.spaak at donders.ru.nl
Tue Mar 26 09:34:23 CET 2019
Hi Sandra,
In case you want to create an FT-style 'freq' structure, you should
specify the exact frequencies (in Hz) that are present in the
freq.freq field. So freq.freq = [1 2 3...] etc. whereas right now you
have freq.freq = 'all'. I'm not sure this is the only issue here, but
it's at least one to fix :) In case errors persist, it would be
helpful to additionally post the exact error message on the list.
The all-ones cumtapcnt (size ntrial X nfreq) field should be fine, by
the way. When multiple tapers are used per frequency, this field is
used to keep track of which entries along a 'rpttap' dimension (which
represents taperXobservation) belong to which observation. In your
(wavelet) case, I'm assuming you only have a single taper per
frequency, thus the all-ones cumtapcnt should be fine.
Cheers,
Eelke
On Thu, 21 Mar 2019 at 22:25, Gattas, Sandra <gattass at uci.edu> wrote:
>
> Hello,
>
> My goal is to examine which range of frequencies and time from a spectrogram significantly differ between two conditions. More specifically, I want to run the cluster based permutation testing on observations of spectrograms between two conditions.
>
> In order to do so, I am using the ft_freqstatistics.m function in fieldtrip. Although I do not use Fieldtrip for my time-Frequencey analysis - I organized the data in fieldtrip format. The function errors out due to inaccurate dimensions of frequencies and observation numbers. After probing the function, it seems that this information is achieved from the ____.cumtapcnt variable. I used wavelet analysis for frequency decomposition and it is not clear to me how define this variable.
>
> I attached an image of how I set up all my variables for each of the conditions as well as the cfg definitions. Any suggestion on how to trouble shoot this would be much appreciated.
>
>
>
> Thank you,
> Sandra
>
>
> Sandra Gattas
> MD-PhD Candidate
> UC Irvine School of Medicine
> Medical Scientist Training Program
> gattass at uci.edu
> 831-917-0051
>
> ________________________________
>
> This message may contain confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, do not use, distribute, or copy this e-mail. Please notify the UC Irvine Health – Compliance and Privacy Office via email at hacompliance at uci.edu or by phone 888-456-7006 immediately if you have received this e-mail in error. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202
More information about the fieldtrip
mailing list