Description Usage Arguments Value
View source: R/read_NMR_spectra.R
This function detects the peaks, that have a minimum intensity of baseline_tresh
, and performs alignment of those peaks.
1 2 | detect_nmr_peaks_from_dataset(dataset, baseline_tresh=50000,
ap.method="own", ap.samp.classes=1, ap.step=0.03)
|
dataset |
list representing the dataset from a metabolomics experiment. |
baseline_tresh |
Minimum intensity value that peaks must have. Peaks with intensity smaller than baseline_tresh will not be considered as detected peaks. |
ap.method |
Method to used in the alignment of peaks, after they are identified. Can be "own" or "metaboanalyst", which the later is for using the peak alignment used in MetaboAnalyst software. |
ap.samp.classes |
the metadata's variable to be used in the MetaboAnalyst method. |
ap.step |
step value for the peak alignment process |
Returns a dataset with the peaks detected and aligned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.