find.freesurferhome: Find the FREESURFER_HOME directory on disk.

Description Usage Arguments Value See Also

View source: R/helpers.R

Description

Try to find directory containing the FreeSurfer installation, based on environment variables and *educated guessing*.

Usage

1

Arguments

mustWork

logical. Whether the function should with an error stop if the directory cannot be found. If this is TRUE, the return value will be only the 'found_at' entry of the list (i.e., only the path of the FreeSurfer installation dir).

Value

named list with the following entries: "found": logical, whether it was found. "found_at": Only set if found=TRUE, the path to the FreeSurfer installation directory (including the directory itself). See 'mustWork' for important information.

See Also

fs_home, has_fs

Other FreeSurfer helper functions: fs_home(), get_subjects_dir(), has_fs()


dfsp-spirit/brainloc documentation built on Jan. 28, 2022, 12:25 p.m.