This function creates 1:1 mixed AB spectra for spectral entropy calculation
spectra_1A1B_mixer(PEAK_A, PEAK_B, massError = 0, allowedNominalMass = FALSE)A matrix of 1:1 mixing spectra. First and second columns represent intensity-weighted average m/z and cumulated intensity, respectively.
A matrix (m/z, int) of fragmentation spectra
A matrix (m/z, int) of fragmentation spectra
Mass accuracy in Da
c(TRUE, FALSE). Select `TRUE` only for nominal mass analysis.