Orchestrates all external tool steps in sequence:
DICOM metadata extraction
Anonymization (if requested)
DICOM to NIfTI conversion
Spinal cord segmentation
Lesion segmentation (SCIsegV2)
Vertebral labeling
Parameter extraction
Merge & export
Usage
sci_run_pipeline(
project_dir,
steps = 1:8,
anonymize = FALSE,
overwrite = FALSE,
verbose = TRUE
)
Arguments
- project_dir
Character. Path to workflowr project root.
- steps
Integer vector. Which steps to run. Default 1:8.
- anonymize
Logical. Run anonymization step. Default FALSE.
- overwrite
Logical. Re-process existing outputs. Default FALSE.
- verbose
Logical. Print progress. Default TRUE.
Value
Tibble with pipeline status per step.
Details
Each step checks for existing outputs (idempotent). The pipeline can be
interrupted and resumed at any step.
Examples
if (FALSE) { # \dontrun{
sci_run_pipeline("~/projects/my-sci-study", steps = 1:3)
} # }