runwise_lm: Runwise Linear Model for fMRI Dataset

View source: R/fmrilm.R

runwise_lmR Documentation

Runwise Linear Model for fMRI Dataset

Description

This function performs a runwise linear model analysis on an fMRI dataset by running the linear model for each data run (responses split vertically) and then combines the results over runs via meta-analysis.

Usage

runwise_lm(dset, model, conlist, fcon, robust = FALSE, verbose = FALSE)

Arguments

dset

An object of class fmri_dataset.

model

The fMRI model used for the analysis.

conlist

The list of contrasts used in the analysis.

fcon

The F-contrasts used in the analysis.

robust

Whether to use robust linear modeling (default is FALSE).

verbose

Whether to display progress messages (default is FALSE).

Value

A list containing the combined results from runwise linear model analysis.


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