Learn R Programming

fslr (version 2.25.3)

fsl_anat: FSL Anatomical Processing Script

Description

This function calls fsl_anat from FSL

Usage

fsl_anat(
  file,
  modality = c("T1", "T2", "PD"),
  outdir = NULL,
  intern = FALSE,
  opts = "",
  verbose = TRUE,
  ...
)

Value

Result from system command, depends if intern is TRUE or FALSE.

Arguments

file

(character) image to be manipulated, should be full path

modality

(character) Modality of Image to be run

outdir

(character) output directory, if none specified, will default to dirname(file)

intern

(logical) to be passed to system

opts

(character) operations to be passed to fsl_anat

verbose

(logical) print out command before running

...

options passed to checkimg