R/mrs_data_proc.R
mrs_data2spec_mat.Rd
Convert mrs_data object to a matrix, with spectral points in the column dimension and dynamics in the row dimension.
mrs_data2spec_mat(mrs_data, collapse = TRUE)
MRS data object or list of MRS data objects.
collapse all other dimensions along the dynamic dimension, eg a 16x16 MRSI grid would be first collapsed across 256 dynamic scans.
MRS data matrix.