View source: R/mrs_data_proc.R
spec_op | R Documentation |
Perform a mathematical operation on a spectral region.
spec_op(
mrs_data,
xlim = NULL,
operator = "sum",
freq_scale = "ppm",
mode = "re"
)
mrs_data |
MRS data. |
xlim |
spectral range to be integrated (defaults to full range). |
operator |
can be "sum" (default), "mean", "l2", "max", "max_cplx, "min" or "max-min". |
freq_scale |
units of xlim, can be : "ppm", "hz" or "points". |
mode |
spectral mode, can be : "re", "im", "mod" or "cplx". |
an array of integral values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.