Description Usage Arguments Value
View source: R/read_NMR_spectra.R
This function detects the peaks across samples, reducing the dimensionality of the 2D spectra. If baseline_thresh
is not provided it will be calculated a signal-to-noise ratio (SNR) for each spectra that will serve as threshold.
1 | peak_detection2d(specmine_2d_dataset, baseline_thresh=NULL, noiseFilt=0, negatives=F)
|
specmine_2d_dataset |
List representing a 2D dataset from a 2D metabolomics experiment. |
baseline_thresh |
Minimum intensity value that peaks must have. Peaks with intensity smaller than |
noiseFilt |
Integer argument that applies a noise filter when searching for peaks. Can be one of the following:
Defaults to 0. |
negatives |
Boolean value that decides if negative ppm values should be considered or not. Default to FALSE. |
Returns a 1D specmine dataset where the rows are combinations of ppms (indirect dimension x direct dimension) and the columns are the samples. The combinations of ppms represent peaks detected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.