unravel.cluster_stats.recursively_mirror_rev_cluster_indices module#

Use cstats_mirror_indices from UNRAVEL to recursively process img.nii.gz files, apply mirroring, and save new files.

Note

  • Use this command after cstats_fdr to mirror the cluster indices for the other side of the brain before running cstats_validation.

  • Use -ax 2 and -s 0 for the CCFv3 2020 atlas.

  • Use -ax 0 and -s 2 for the 25 um Gubra atlas (deprecated).

Next command:
  • cstats_validation to validate the cluster indices (if unilateral data or bilateral data processed with a whole brain mask).

Usage:#

cstats_mirror_indices -m <RH or LH> [-i glob_pattern] [-ax 2] [-s 0] [-v]

unravel.cluster_stats.recursively_mirror_rev_cluster_indices.parse_args()[source]#
unravel.cluster_stats.recursively_mirror_rev_cluster_indices.process_file(file_path, args)[source]#
unravel.cluster_stats.recursively_mirror_rev_cluster_indices.main()[source]#