multiGLM | R Documentation |
Performs classical Bayesian GLM for task fMRI activation with CIFTI-format data, evaluating multiple design matrices. Includes the pre-processing steps of nuisance regression. Supports single-session analysis only.
multiGLM(
BOLD,
design,
brainstructures = c("left", "right"),
TR = NULL,
resamp_res = 10000,
hpf = NULL,
nuisance = NULL,
design_canonical = NULL,
verbose = 1,
meanTol = 1e-06,
varTol = 1e-06
)
BOLD |
fMRI timeseries data in CIFTI format ("*.dtseries.nii").
For single-session analysis this can be a file path to a CIFTI file or a
If |
design |
A 3D numeric array that is locations by fields by designs. |
brainstructures |
Character vector indicating which brain structure(s)
of |
TR |
Temporal resolution of the data, in seconds. |
resamp_res |
For cortex spatial model. The number of vertices to which
each cortical surface should be resampled, or For computational feasibility, a value of |
hpf |
Add DCT bases to Using at least two DCT bases is as sufficient for detrending as using linear
and quadratic drift terms in the nuisance matrix. So if DCT detrending is
being used here, there is no need to add linear and quadratic drift terms to
|
nuisance |
(Optional) A Detrending/high-pass filtering is accomplished by adding DCT bases to the
nuisance matrix; see the parameters Do not add spike regressors for scrubbing to the |
design_canonical |
TO DO |
verbose |
|
meanTol , varTol |
Tolerance for mean and variance of each data location.
Locations which do not meet these thresholds are masked out of the analysis.
Default: |
An object of class "mGLM"
: a list with elements
data.frame
summarizing the spatial features of each brain structure modeled.
data.frame
with the name
, related task
, and HRF_order
of each field.
This function uses a system wrapper for the 'wb_command' executable. The user must first download and install the Connectome Workbench, available from https://www.humanconnectome.org/software/get-connectome-workbench .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.