Description Usage Arguments Value
Extract Spectra at Peak Positions, with zeros for non-peaks
1 | get_spectra_at_peaks_zeros(specmat, peaks_list, binary = FALSE)
|
specmat |
A spectra matrix with samples on rows. |
peaks_list |
A list whose i^th element contains the indices of peaks in the i^th sample |
binary |
Should the actual spectrum intensity be returned, or just an indicator of whether the position was a peak? |
peaks A matrix containing spectra values filtered to samples and measurement indices containining peaks, and placing zeros if a measurement was not called a peak.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.