Dear Nancy,
The cluster level p<0.05 critical threshold can be accessed from the
TabDat variable that is available from the workspace after looking at
results, TabDat.ftr{5,2}(3). This corresponds to the value displayed at
the bottom of the results table (FWEc).
The attached script will look at results without cluster extent
threshold, extract the value described above and look at results again
using that value as extent threshold and save the thresholded
statistical map.
An alternative would be to use a function like this one from Christophe:
https://github.com/CyclotronResearchCentre/SPM_ClusterSizeThreshold
Best regards,
Guillaume.
On 31/03/17 04:35, Nancy Fei wrote:
> Does anyone know how to save T map after cluster-level correction
> automatically? e.g. with threshold at voxel level p<0.001 with a
> cluster-level FWE correction of p< 0.05. I think spm_est_smoothes.m and
> spm_uc_clusterFDR should be invoked.
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|