Perform first-level spectral GLM analysis of an fMRS dataset.
a data frame containing temporal regressors to be applied to each spectral datapoint.
directory containing preprocessed data generated by the preproc_svs_dataset function.
vector of labels of scans to exclude, eg poor quality data.
labels to describe each data set.
spectral range to include in the analysis.
vertical lines to add to the plot.
function will return key outputs, defaults to FALSE.