Learn R Programming

freesurfer (version 1.6.10)

check_fs_result: Check Freesurfer Result

Description

Checks the Freesurfer system command result and will stop or warning based on whether output files exist.

Usage

check_fs_result(res, fe_before, fe_after)

Value

No return value, called for side effects

Arguments

res

(numeric) Result from system command

fe_before

(logical) did the output file exist before the command ran

fe_after

(logical) did the output file exist after the command ran