Closed PMSeitzer closed 9 months ago
MainWindow::isotopeC13Correct()
should also be revisited.
Note the existence of mzUtils::naturalAbundanceCorrection(int nC, std::vector<double>& M)
, as well as float naturalAbundanceError = abs(observedAbundance-expectedAbundance)/expectedAbundance*100.0f;
in the original maven one computation.
Calculation looks reasonable - after some work, finally understand how to isotopic values are working. Key is MassCalculator::getNaturalAbundanceCorrectedQuantValue()
, which will be used downstream.
Revisit the natural abundance correction implemented in MAVEN, compare to existing approaches (like
IsoCorrectR
).