# sample 3D p value provided by the package
dim(phase2_pval)
# \donttest{
# do the FDR correction
pval_fdr = fmri_post_hoc(phase2_pval,
fdr_corr = 'fdr',
spatial_cluster.thr = NULL,
spatial_cluster.size = NULL,
show_comparison = FALSE)
# do the spatial clustering
pval_posthoc = fmri_post_hoc(pval_fdr,
fdr_corr = NULL,
spatial_cluster.thr = 0.05,
spatial_cluster.size = 5,
show_comparison = FALSE)
# }
Run the code above in your browser using DataLab