[FieldTrip] plotting clusters

mubeen afzal mubafzal at hotmail.com
Tue Mar 29 10:53:17 CEST 2022


Thanks Jan will do. Can I ask if the specification of avgoverfrequency actually averages powspctrm values in all frequency bins if foi is [2 6] or looks at only 4hz the average of 2+6/2. The output says 1 frequency bin and stat.freq shows 4 in output when aevraging is done meaning does it only look at 4Hz frequency?

Regards
Mubeen J



Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: fieldtrip <fieldtrip-bounces at science.ru.nl> on behalf of Schoffelen, J.M. (Jan Mathijs) via fieldtrip <fieldtrip at science.ru.nl>
Sent: Tuesday, March 29, 2022 6:07:37 PM
To: FieldTrip discussion list <fieldtrip at science.ru.nl>
Cc: Schoffelen, J.M. (Jan Mathijs) <janmathijs.schoffelen at donders.ru.nl>
Subject: Re: [FieldTrip] plotting clusters

Hi Mubeen,

@1 and @2: Perhaps you can start by studying the documentation on internet:


https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fieldtriptoolbox.org%2Ftutorial%2Fcluster_permutation_timelock%2F&data=04%7C01%7C%7C648907107d354f14c1b008da11579901%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841365169980738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=yYGC6%2BcbFuYKiPQojXCx7HKKw39%2FwbTtJtR1fgDZfDg%3D&reserved=0>

The output data object is quite extensively described.

@3: the error message is quite clear I think, so the answer would be ’no’, unless you squeeze out either the frequency or time dimension. This can be done with ft_selectdata, and an appropriate specification of the input cfg. Please refer to the function’s help to get you on the way.

Best wishes,
Jan-Mathijs


On 28 Mar 2022, at 17:20, mubeen afzal via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Hi fieldtrip team,

I would like to know how to learn more on cluster permutation performed on two groups.

  1.  what do positive and negative clusters represent
  2.  what is posclusterslabelmat represent
  3.  is there a way to plot positive clusters after wavelet analysis comparisons between two groups without specifying time or frequency as I am getting this error message: 'this only works if either frequency or time is a singleton dimension'

my data currently is comparing frequencies between 2 and 6 Hz for time segments 0:0.2:5 seconds across 19 channels in two groups

Thanks for any help
Mubeen
<image.png>
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=04%7C01%7C%7C648907107d354f14c1b008da11579901%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841365169980738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=QHz3rfVU1QzLRzUNrTO8n2AluF9jCBTpZ1BNnLfYXf0%3D&reserved=0>
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-EpUOGf67iBC1V52VXArgxdxHSW-85qvC7huhLHkb6b5-_IVanNG206mJVcXUpI-EBpOXK1Q-tbLl1O4Y-BbsQPMn_tttSaYOzx-Kg$<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202__%3B!!HJOPV4FYYWzcc1jazlU!-EpUOGf67iBC1V52VXArgxdxHSW-85qvC7huhLHkb6b5-_IVanNG206mJVcXUpI-EBpOXK1Q-tbLl1O4Y-BbsQPMn_tttSaYOzx-Kg%24&data=04%7C01%7C%7C648907107d354f14c1b008da11579901%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841365169980738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=5AVdMstQl%2FZVXA99fRhW7TeZxk7aj51OHzEQz8wavQA%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220329/0c7e50f0/attachment.htm>


More information about the fieldtrip mailing list