statFieldThresh(x, pval, nvox, n, fwhm, resels, df, fieldType, threshType, pp = 0.001, verbose = FALSE)
pval
given the provided parameters. "cRFT" and "pRFT" specify the method of estimation
should use RFT cluster and peak statistic estimates respectively.In addition to RFT based thresholds the user may choose to utilize false-discovery rate
(FDR) based thresholds. These use a primary p-value threshold (default pp = .001
)
to create suprathreshold clusters which in turn are used to determine a final threshold
(utilizing pval
at this point). If the estimated peak-FDR statistic is used ("pFDR")
then all suprathreshold voxels are FDR corrected to determine the threshold. If the
estimated cluster-FDR statistic is used then the cluster maxima are FDR corrected in order
to determine the threshold.
It is important that the user recognize that when statistical analyses are computed using RFT that the threshold level plays a role in predicting the p-value. This is because the probability of obtaining results is weighted against the probability of any occurence given the threshold. For example, if two clusters where exactly the same but had one was obtained using a lower threshold it would have a lower p-value. This has been shown with a power analysis using similar parameters to those presented herein with the additional variable of signal characteristics to demonstrate the effect of image modality on analysis (Friston et al., 1996). Therefore, parameters should be chosen according to the type of analysis being performed (fMRI, PET, or VBM) and the hypothesis being tested. Due to widely varying oppinions on appropriate thresholding procedures no specific recommendations are made here. This function simply facilitates the use of several approaches that users may utilize after consulting available literature.
Friston K.J., (1994) Assessing the Significance of Focal Activations Using Their Spatial Extent
Friston K.J., (1996) Detecting Activations in PET and fMRI: Levels of Inference and Power
## Not run:
# # threshold according to estimated peak height
# thresh_image <- statFieldThresh(timg, .05, 10, 1, mysmooth$fwhm,
# c(1, fit$df.residual), fieldType = "T",
# threshType = pRFT)
# ## End(Not run)
Run the code above in your browser using DataLab