clustering

External Email - Use Caution

Dear all,
I am about to use clustering method onto my data.
But, for some reasons, I would like to calculate this in a particular area,
instead of in the whole brain. Is it possible?
How can I use specific part of 'src' (the output of '
mne.setup_source_space') at 'mne.spatial_src_connectivity'?
Is there any other way to do this?
Thanks!
Noa Guttman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190120/67fab994/attachment.html

Hi Noa,

You can set spatial_exclude to exclude vertices from clustering in
mne.stats.spatio_temporal_cluster_test

Please see
https://martinos.org/mne/stable/generated/mne.stats.spatio_temporal_cluster_test.html#mne.stats.spatio_temporal_cluster_test

spatial_exclude : list of int or None
List of spatial indices to exclude from clustering.

Hope this help.

Best,

Sheraz Khan

MG