glm_spec_fmrs_fl {spant}R Documentation

Perform first-level spectral GLM analysis of an fMRS dataset.

Description

Perform first-level spectral GLM analysis of an fMRS dataset.

Usage

glm_spec_fmrs_fl(
  regressor_df,
  analysis_dir = "spant_analysis",
  exclude_labels = NULL,
  labels = NULL,
  xlim = c(4, 0.2),
  vline = c(1.35, 1.28, 2.35, 2.29),
  return_results = FALSE
)

Arguments

regressor_df

a data frame containing temporal regressors to be applied to each spectral datapoint.

analysis_dir

directory containing preprocessed data generated by the preproc_svs_dataset function.

exclude_labels

vector of labels of scans to exclude, eg poor quality data.

labels

labels to describe each data set.

xlim

spectral range to include in the analysis.

vline

vertical lines to add to the plot.

return_results

function will return key outputs, defaults to FALSE.


[Package spant version 2.22.0 Index]