mrs_data2mat: Convert mrs_data object to a matrix, with spectral points in...

View source: R/mrs_data_proc.R

mrs_data2matR Documentation

Convert mrs_data object to a matrix, with spectral points in the column dimension and dynamics in the row dimension.

Description

Convert mrs_data object to a matrix, with spectral points in the column dimension and dynamics in the row dimension.

Usage

mrs_data2mat(mrs_data, collapse = TRUE)

Arguments

mrs_data

MRS data object or list of MRS data objects.

collapse

collapse all other dimensions along the dynamic dimension, eg a 16x16 MRSI grid would be first collapsed across 256 dynamic scans.

Value

MRS data matrix.


spant documentation built on Sept. 11, 2024, 9:13 p.m.