[FieldTrip] source statistics within spatial ROIs

Lin Wang wanglinsisi at gmail.com
Fri Jan 31 17:50:31 CET 2020

Just want to follow up on my previous email: I just found a bug in my
script and I think the method that Haris used gives sensible results now.


On Thu, 30 Jan 2020 at 16:38, Lin Wang <wanglinsisi at gmail.com> wrote:

> Hi Fieldtripers,
> I'm trying to conduct cluster-based permutation test to source activation
> within anatomically pre-defined spatial ROIs.
> In the *ft_sourceanalysis* function, the cfg.roi doesn't seem to work. In
> an earlier post in the discussion list (
> https://mailman.science.ru.nl/pipermail/fieldtrip/2016-August/010835.html),
> Haris hacked it by replacing the activation values outside of the ROIs as
> NaN and setting up the "source.inside" field to contain the index values of
> the ROI voxels only.
> However, this method returns significant clusters for all spatial
> clusters, because the resulted values within result.posclusters.clusterstat
> are Inf.
> Is there another way to run the analysis?
> Thank you!
> Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200131/2bb2bb59/attachment.htm>

More information about the fieldtrip mailing list