Description Usage Arguments Value
This function 1) removes outliers, 2) removes spectra baseline, 3) aligns spectra, and 3) detects peaks, across samples in a spectrum.
1 | process_spectra(X, opts = list())
|
X |
A spectra matrix with samples on rows. |
opts |
A potentially partially specified list of processing options. See merge_spectra_opts() for options and defaults. |
A list with the followign objects
$X The spectra matrix with peaks aligned.
$peaks_ix A list whose i^th element give the indices of peaks in the i^th
sample.
$X_peaks A matrix whose columns are the positions where a peak was detected
in at least one sample.
$X_peaks_zeros The same as X_peaks, but with zeros for samples where that
given position was not identified as a peak.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.