View source: R/spectra_1A1B_mixer.R
spectra_1A1B_mixer | R Documentation |
This function creates 1:1 mixed AB spectra for spectral entropy calculation
spectra_1A1B_mixer(PEAK_A, PEAK_B, massError = 0, allowedNominalMass = FALSE)
PEAK_A |
A matrix (m/z, int) of fragmentation spectra |
PEAK_B |
A matrix (m/z, int) of fragmentation spectra |
massError |
Mass accuracy in Da |
allowedNominalMass |
c(TRUE, FALSE). Select 'TRUE' only for nominal mass analysis. |
A matrix of 1:1 mixing spectra. First and second columns represent intensity-weighted average m/z and cumulated intensity, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.