Standard SVS 1H brain analysis pipeline.
svs_1h_brain_analysis(
metab,
basis = NULL,
w_ref = NULL,
mri_seg = NULL,
mri = NULL,
output_dir = NULL,
extra = NULL,
decimate = NULL,
rats_corr = TRUE,
ecc = FALSE,
comb_dyns = TRUE,
hsvd_filt = FALSE,
scale_amps = TRUE,
te = NULL,
tr = NULL,
preproc_only = FALSE,
method = "ABFIT",
opts = NULL
)
filepath or mrs_data object containing MRS metabolite data.
basis set object to use for analysis.
filepath or mrs_data object containing MRS water reference data.
filepath or nifti object containing segmented MRI data.
filepath or nifti object containing anatomical MRI data.
directory path to output fitting results.
data.frame with one row containing additional information to be attached to the fit results table.
option to decimate the input data by a factor of two. The default value of NULL does not perform decimation unless the spectral width is greater than 20 PPM.
option to perform rats correction, defaults to TRUE.
option to perform water reference based eddy current correction, defaults to FALSE.
option to combine dynamic scans, defaults to TRUE.
option to apply hsvd water removal, defaults to FALSE.
option to scale metabolite amplitude estimates, defaults to TRUE.
metabolite mrs data echo time in seconds.
metabolite mrs data repetition time in seconds.
only perform the preprocessing steps and omit fitting. The preprocessed metabolite data will be returned in this case.
analysis method to use, see fit_mrs help.
options to pass to the analysis method.
a fit_result or mrs_data object depending on the preproc_only option.