multiGLM_fun: multiGLM0

View source: R/multiGLM_fun.R

multiGLM_funR Documentation

multiGLM0

Description

Performs classical GLM for task fMRI activation, comparing multiple designs

Usage

multiGLM_fun(
  BOLD,
  design,
  nuisance = NULL,
  design_canonical = NULL,
  verbose = 1,
  meanTol = 1e-06,
  varTol = 1e-06
)

Arguments

BOLD, design, nuisance

Session-length list of numeric matrices/arrays, each with volumes along the first dimension.

design_canonical

TO DO

verbose

1 (default) to print occasional updates during model computation; 2 for occasional updates as well as running INLA in verbose mode (if Bayes), or 0 for no printed updates.

meanTol, varTol

Tolerance for mean, variance and SNR of each data location. Locations which do not meet these thresholds are masked out of the analysis. Default: 1e-6 for mean and variance, 50 for SNR.

Value

A list with elements

bestmodel

...

Fstat

...

pvalF

...


hrf documentation built on April 3, 2025, 10:36 p.m.