ACE Cluster Only
Apply cluster-wise analysis including a cluster-wise TFCE test and correlation analysis on voxelized and warped segmentation maps.
Main Inputs
Control and Treated directories, containing voxelized and warped segmentation maps for each group.
CLI
To get more information about the workflow and its required arguments use the following command on the CLI:
$ miracl stats ace -h
Example usage (link to sample data):
$ miracl stats ace \
-c ./ctrl/ \
-e ./treated/ \
-sao ./output_dir \
-n 1000 \
-a ./atlas/ \
-r 25 \
-sfwhm 3 \
-start 0.05 \
-step 5 \
-h 2 \
-e 0.5
Flag |
Parameter |
Type |
Description |
Default |
---|---|---|---|---|
-c, --control |
CONTROL_BASE_DIR |
|
path to base control directory |
|
-e, --experiment |
EXPERIMENT_BASE_DIR |
|
path to base experiment directory |
|
-sao, --sa_output_folder |
SA_OUTPUT_FOLDER |
|
path to output directory |
|
-n, --num_perm |
NUM_PERM |
|
number of permutations |
|
-a, --atlas_dir |
ATLAS_DIR |
|
path to atlas directory |
|
-r, --img_resolution |
IMG_RESOLUTION |
|
image resolution (atlas resolution 10 or 25 um) |
|
-sfwhm, --smoothing_fwhm |
SMOOTHING_FWHM |
|
fwhm of Gaussian kernel in pixel |
|
-start, --tfce_start |
TFCE_START |
|
tfce threshold start |
|
-step, --tfce_step |
TFCE_STEP |
|
tfce threshold step |
|
-h, --tfce_h |
TFCE_H |
|
tfce H power |
|
-e, --tfce_e |
TFCE_E |
|
tfce E power |
|
-c, --cpu_load |
CPU_LOAD |
|
percent of cpus used for parallelization |
|
-p, ---step_down_p |
STEP_DOWN_P |
|
step down p value |
|
-m, --mask_thr |
MASK_THR |
|
percentile to be used for binarizing difference of the mean |
|
Jupyter notebook
An accompanying Jupyter notebook for this tutorial can be found here.