fsl_anat: FSL Anatomical Processing Script

View source: R/fsl_anat.R

fsl_anatR Documentation

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,
  ...
)

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

Value

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


fslr documentation built on Aug. 25, 2022, 5:07 p.m.