dcm2nii_bin: Make path for dcm2nii binary

Description Usage Arguments Value Examples

View source: R/dcm2nii_bin.R

Description

Wrapper for checking if dcm2nii binaries are installed and creating a file path to the binary requested.

Usage

1
2
dcm2nii_bin(progdir = system.file(package = "dcm2niir"),
  dcm2niicmd = c("dcm2niix", "dcm2nii_2009", "dcm2nii"))

Arguments

progdir

(character) directory of bash scripts, no user input needed unless binaries were installed elsewhere

dcm2niicmd

(character) either "dcm2niix", "dcm2nii", or "dcm2nii_2009", which are different versions of dcm2nii.

Value

Character vector

Examples

1
2
3
4
## Not run: 
dcm2nii_bin()

## End(Not run)

muschellij2/dcm2niir documentation built on Oct. 19, 2018, 8:05 a.m.