setup_l2_models: This function generates the inputs for an FSL level 2...

View source: R/setup_l2_models.R

setup_l2_modelsR Documentation

This function generates the inputs for an FSL level 2 analysis, where multiple runs for a subject are combined using fixed effects estimation.

Description

This function generates the inputs for an FSL level 2 analysis, where multiple runs for a subject are combined using fixed effects estimation.

Usage

setup_l2_models(gpa, l1_model_names = NULL, l2_model_names = NULL)

Arguments

gpa

a glm_pipeline_arguments object containing analysis speecification

l1_model_names

a subset of L1 models to be passed to L2 by this function. If not specified, all models in gpa$l1_models will be included

l2_model_names

a subset of L2 models to be setup by this function. If not specified, all models in gpa$l2_models will be included

Details

This function will setup FSL level 2 (subject) .fsf files for all combinations of l2_model_names and l1_model_names.

Author(s)

Michael Hallquist


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