unravel.utilities.aggregate_files_from_sample_dirs module#
Use utils_agg_files (agg) from UNRAVEL to aggregate files from sample?? directories to a target directory.
- Next commands for voxel-wise stats:
If analyzing whole brains, consider using
vstats_whole_to_avgto average left and right hemispheres.If using side-specific z-scoring, use
vstats_hemi_to_avgto average the images.Prepend condition names with
utils_prepend.Check images in FSLeyes and run
vstatsto perform voxel-wise stats.
- Next command for regional stats:
Use
rstats_summaryto summarize the results
Usage:#
utils_agg_files -i ‘atlas_space/<asterisk>_cfos_rb4_30um_CCF_space_z_LRavg.nii.gz’ [-td target_output_dir] [-d list of paths] [-p sample??] [-v]
Usage to prepend sample folder name to the name of files being copied:#
utils_agg_files -i ‘atlas_space/cfos_rb4_30um_CCF_space_z_LRavg.nii.gz’ -a [-td target_output_dir] [-d list of paths] [-p sample??] [-v]