An implementation of the Morpheus PSM scoring function Inspired by a C# implementation by C. Wenger released under MIT license.
More...
#include <OpenMS/ANALYSIS/RNPXL/MorpheusScore.h>
|
static Result | compute (double fragment_mass_tolerance, bool fragment_mass_tolerance_unit_ppm, const PeakSpectrum &exp_spectrum, const PeakSpectrum &theo_spectrum) |
| returns Morpheus Score, #matched ions, #total ions, #matched intensities, #total fragment intensities (TIC) More...
|
|
An implementation of the Morpheus PSM scoring function Inspired by a C# implementation by C. Wenger released under MIT license.
◆ OpenMS::MorpheusScore::Result
struct OpenMS::MorpheusScore::Result |
Class Members |
float |
err |
average absolute mass error of matched fragments (in Da) |
Size |
matches |
matched theoretical peaks |
float |
MIC |
ion current of matches (experimental peaks) |
Size |
n_peaks |
number of theoretical peaks |
float |
score |
Morpheus score (matched peaks + matched ion current / TIC) |
float |
TIC |
total ion current (experimental peak) |
◆ compute()
static Result compute |
( |
double |
fragment_mass_tolerance, |
|
|
bool |
fragment_mass_tolerance_unit_ppm, |
|
|
const PeakSpectrum & |
exp_spectrum, |
|
|
const PeakSpectrum & |
theo_spectrum |
|
) |
| |
|
static |
returns Morpheus Score, #matched ions, #total ions, #matched intensities, #total fragment intensities (TIC)