add_custom_feat_syntax: Helper function to find/replace or insert additional...

View source: R/fsl_helper_functions.R

add_custom_feat_syntaxR Documentation

Helper function to find/replace or insert additional arguments to include in FSF syntax for a FEAT model.

Description

Helper function to find/replace or insert additional arguments to include in FSF syntax for a FEAT model.

Usage

add_custom_feat_syntax(fsf_syntax, feat_args, lg = NULL)

Arguments

fsf_syntax

a character vector containing all fsf syntax

feat_args

a named list

Details

If a tag already exists in the fsf syntax, it is replaced by the custom argument in feat_args. If the tag does not exist, it is inserted.

Value

a modified version of fsf_syntax that now includes all custom arguments from feat_args


UNCDEPENdLab/fmri.pipeline documentation built on April 3, 2025, 3:21 p.m.