OpenMS
MorpheusScore Struct Reference

An implementation of the Morpheus PSM scoring function Inspired by a C# implementation by C. Wenger released under MIT license. More...

#include <OpenMS/ANALYSIS/ID/MorpheusScore.h>

Classes

struct  Result
 score and subscores More...
 

Static Public Member Functions

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...
 

Detailed Description

An implementation of the Morpheus PSM scoring function Inspired by a C# implementation by C. Wenger released under MIT license.


Class Documentation

◆ OpenMS::MorpheusScore::Result

struct OpenMS::MorpheusScore::Result

score and subscores

Collaboration diagram for MorpheusScore::Result:
[legend]
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)

Member Function Documentation

◆ 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)