build_decon_command: Build 3dDeconvolve command for an fMRI model

View source: R/afni.R

build_decon_commandR Documentation

Build 3dDeconvolve command for an fMRI model

Description

This function constructs the command string and associated options required to run 3dDeconvolve using the specified fMRI model, dataset, working directory, and other options. This command string can then be used to perform the actual fMRI analysis using the AFNI software.

Usage

build_decon_command(model, dataset, working_dir, opts)

Arguments

model

The fMRI model, usually created using the fmri_model function

dataset

The fMRI dataset, usually created using the fmri_dataset function

working_dir

The working directory

opts

A list of options for the 3dDeconvolve command

Value

A list containing: - cmd: The 3dDeconvolve command string - cmdlines: The command lines for the 3dDeconvolve command - afni_stims: A list of AFNI stimulus objects - afni_baseline_mats: A list of AFNI baseline matrices - gltfiles: A list of GLT (general linear test) filenames - gltnames: A list of GLT names - glts: A list of GLT objects - gltstr: A list of GLT strings - censor: The censoring vector


bbuchsbaum/fmrireg documentation built on May 16, 2023, 10:56 a.m.