This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Thresholding for VLSM using permutation based statistics | |
# ANTsR needs to be installed and loaded before the function can be run | |
#cFWER takes the following arguments | |
# lesmat - a matrix containing the lesion data from the patient scans | |
# behaveData - a vector containing only the behavioral data | |
# numPerm - a single integer argument that tells the function how many permutations to run | |
# voxThreshs - a vector containing the voxel numbers for thresholding | |
# flip - a bolean flag telling the function whether or not to flip the t values output from the |