Description Usage Arguments Value
Reset a peakPantheRAnnotation and alter samples and compounds information
Reset a peakPantheRAnnotation (remove results and set isAnnotated=FALSE
). If a different number of samples (spectraPaths
) or compounds (targetFeatTable
) are passed, the object will be initialised to the new size. For input values left as NULL, the slots (filepath
(from spectraPaths
), ROI
, cpdID
, cpdName
(from targetFeatTable
), uROI
, FIR
, cpdMetadata
, spectraMetadata
, uROIExist
, useUROI
and useFIR
) will be filled with values from previousAnnotation
.
1 2 3 4 5 |
previousAnnotation |
(peakPantheRAnnotation) object to reset |
spectraPaths |
NULL or a character vector of spectra file paths, to set samples to process |
targetFeatTable |
NULL or a |
uROI |
NULL or a data.frame of updated Regions Of Interest (uROI) with compounds as row and uROI parameters as columns: |
FIR |
NULL or a data.frame of Fallback Integration Regions (FIR) with compounds as row and FIR parameters as columns: |
cpdMetadata |
NULL or a data.frame of compound metadata, with compounds as row and metadata as columns |
spectraMetadata |
NULL or a data.frame of sample metadata, with samples as row and metadata as columns |
uROIExist |
NULL or a logical stating if uROI have been set |
useUROI |
NULL or a logical stating if uROI are to be used |
useFIR |
NULL or a logical stating if FIR are to be used |
verbose |
(bool) If TRUE message progress |
... |
Additional slots and values to set when resetting the object ( |
(peakPantheRAnnotation) object reset with previous results removed and slots updated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.