check_fs_result {freesurfer}R Documentation

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)

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

Value

No return value, called for side effects


[Package freesurfer version 1.6.10 Index]