R/mrs_data_proc.R
spec_decomp.RdAn implementation of the method published by Goryawala et al MRM 79(6) 2886-2895 (2018). "Spectral decomposition for resolving partial volume effects in MRSI".
spec_decomp(mrs_data, wm, gm, norm_fractions = TRUE)a list of two mrs_data objects corresponding to the two tissue types.