dipy_buan_profiles#
Synopsis#
Workflow of bundle analytics.
Applies statistical analysis on bundles of subjects and saves the results in a directory specified by out_dir. Supports two modes auto-detected from the directory structure: - Group mode: subject_folder contains patient/ and control/ subdirectories, each with per-subject subdirectories containing rec_bundles/, org_bundles/, and anatomical_measures/. Outputs HDF5 files suitable for linear mixed model analysis. - Single-subject mode: subject_folder directly contains rec_bundles/, org_bundles/, and anatomical_measures/ (or the paths are overridden via bundle_folder, orig_bundle_folder, and metric_folder). Outputs .npy profile arrays (one per bundle/metric pair). See [1] for further details about the method.
Usage#
dipy_buan_profiles [OPTIONS] model_bundle_folder subject_folder
Input Parameters#
model_bundle_folderPath to the input model bundle files. This path may contain wildcards to process multiple inputs at once.
subject_folderPath to the subject folder. Either a group-level directory (containing
patient/andcontrol/subdirs) or a single-subject directory (directly containingrec_bundles/,org_bundles/, andanatomical_measures/).
General Options#
--bundle_folderOverride path for the registered bundles in common space (replaces
<subject_folder>/rec_bundles). Only used in single-subject mode. (default: None)--orig_bundle_folderOverride path for the bundles in native space (replaces
<subject_folder>/org_bundles). Only used in single-subject mode. (default: None)--metric_folderOverride path for the metric files (replaces
<subject_folder>/anatomical_measures). Only used in single-subject mode. (default: None)--no_disksNumber of disks used for dividing bundle into disks. (default: 100)
Output Options#
--out_dirOutput directory. (default: current directory)
References#
Garyfallidis, E., M. Brett, B. Amirbekian, A. Rokem, S. Van Der Walt, M. Descoteaux, and I. Nimmo-Smith. Dipy, a library for the analysis of diffusion MRI data. Frontiers in Neuroinformatics, 1-18, 2014.