crop_spec: Crop 'mrs_data' object based on a frequency range.

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Crop mrs_data object based on a frequency range.

Usage

1
crop_spec(mrs_data, xlim = c(4, 0.2), scale = "ppm")

Arguments

mrs_data

MRS data.

xlim

range of values to crop in the spectral dimension eg xlim = c(4, 0.2).

scale

the units to use for the frequency scale, can be one of: "ppm", "hz" or "points".

Value

cropped mrs_data object.


neuroconductor/spant documentation built on May 25, 2021, 1:49 a.m.