Learn R Programming

freesurfer (version 1.6.10)

freesurferdir: Get Freesurfer's Directory

Description

Finds the FREESURFER_HOME from system environment or getOption("freesurfer.path") for location of Freesurfer functions and returns it

Usage

freesurferdir()

freesurfer_dir()

fs_dir()

Arguments

Value

Character path

Examples

Run this code
if (have_fs()) {
 freesurferdir()
 freesurfer_dir()
 fs_dir()
}

Run the code above in your browser using DataLab