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.
directory to save glm results.
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.
linebroading to add in Hz before GLM analysis.
function will return key outputs, defaults to FALSE.