get.fsl: Create command declaring FSLDIR

Description Usage Arguments Value Note

View source: R/fslhd.R

Description

Finds the FSLDIR from system environment or getOption("fsl.path") for location of FSL functions

Usage

1
2
3
get.fsl(add_bin = TRUE)

get_fsl(add_bin = TRUE)

Arguments

add_bin

Should bin be added to the fsl path? All executables are assumed to be in FSLDIR/bin/. If not, and add_bin = FALSE, they will be assumed to be in FSLDIR/.

Value

NULL if FSL in path, or bash code for setting up FSL DIR

Note

This will use Sys.getenv("FSLDIR") before getOption("fsl.path"). If the directory is not found for FSL in Sys.getenv("FSLDIR") and getOption("fsl.path"), it will try the default directory /usr/local/fsl.


neuroconductor-devel-releases/fslr documentation built on May 6, 2020, 4:22 p.m.