collapse_to_dyns: Collapse MRS data by concatenating spectra along the dynamic...

View source: R/mrs_data_proc.R

collapse_to_dynsR Documentation

Collapse MRS data by concatenating spectra along the dynamic dimension.

Description

Collapse MRS data by concatenating spectra along the dynamic dimension.

Usage

collapse_to_dyns(x, rm_masked = FALSE)

## S3 method for class 'mrs_data'
collapse_to_dyns(x, rm_masked = FALSE)

## S3 method for class 'fit_result'
collapse_to_dyns(x, rm_masked = FALSE)

Arguments

x

data object to be collapsed (mrs_data or fit_result object).

rm_masked

remove masked dynamics from the output.

Value

collapsed data with spectra or fits concatenated along the dynamic dimension.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.