OpenMS
Loading...
Searching...
No Matches
ConfidenceScoring::RTNorm_ Struct Reference

Map RT values into the [0, 100] interval using min/max RT of the assay library. More...

#include <OpenMS/ANALYSIS/OPENSWATH/ConfidenceScoring.h>

Collaboration diagram for ConfidenceScoring::RTNorm_:
[legend]

Public Member Functions

double operator() (double rt) const
 Map rt into [0, 100] using the cached min/max library RTs.
 

Public Attributes

double min_rt
 Smallest assay RT in the library; set by scoreMap()
 
double max_rt
 Largest assay RT in the library; set by scoreMap()
 

Detailed Description

Map RT values into the [0, 100] interval using min/max RT of the assay library.

Populated by scoreMap() from the library RTs and applied before computing the GLM's diff_rt term so the GLM coefficients are unit-free across different assay-library RT ranges.

Member Function Documentation

◆ operator()()

double operator() ( double  rt) const
inline

Map rt into [0, 100] using the cached min/max library RTs.

Member Data Documentation

◆ max_rt

double max_rt

Largest assay RT in the library; set by scoreMap()

◆ min_rt

double min_rt

Smallest assay RT in the library; set by scoreMap()