Crop mrs_data
object based on a frequency range.
crop_spec(mrs_data, xlim = c(4, 0.2), scale = "ppm")
MRS data.
range of values to crop in the spectral dimension eg xlim = c(4, 0.2).
the units to use for the frequency scale, can be one of: "ppm", "hz" or "points".
cropped mrs_data
object.