OpenMS
Get scores from ID structures for FDR

Fills the scores_labels vector from an ID data structure. More...

Functions

static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const std::vector< ProteinIdentification::ProteinGroup > &grps, const std::unordered_set< std::string > &decoy_accs)
 
template<class ... Args>
static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const std::vector< PeptideIdentification > &ids, Args &&... args)
 
static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const ProteinIdentification &id)
 
template<class ... Args>
static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const PeptideIdentification &id, bool all_hits, Args &&... args)
 
template<typename IDPredicate , class ... Args>
static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const PeptideIdentification &id, IDPredicate &&fun, bool all_hits, Args &&... args)
 
template<typename HitPredicate >
static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const PeptideHit &hit, HitPredicate &&fun)
 
template<typename HitType , typename std::enable_if< IsHitType< HitType >::value >::type * = nullptr>
static void getScores_ (ScoreToTgtDecLabelPairs &scores_labels, const HitType &hit)
 

Detailed Description

Fills the scores_labels vector from an ID data structure.

Parameters
scores_labelsPairs of scores and boolean target decoy labels to be filled. target = true.

Just use the one you need.

Function Documentation

◆ getScores_() [1/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const HitType &  hit 
)
inlinestatic

◆ getScores_() [2/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const PeptideHit hit,
HitPredicate &&  fun 
)
inlinestatic

◆ getScores_() [3/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const PeptideIdentification id,
bool  all_hits,
Args &&...  args 
)
inlinestatic

◆ getScores_() [4/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const PeptideIdentification id,
IDPredicate &&  fun,
bool  all_hits,
Args &&...  args 
)
inlinestatic

◆ getScores_() [5/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const ProteinIdentification id 
)
inlinestatic

◆ getScores_() [6/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const std::vector< PeptideIdentification > &  ids,
Args &&...  args 
)
inlinestatic

◆ getScores_() [7/7]

static void getScores_ ( ScoreToTgtDecLabelPairs scores_labels,
const std::vector< ProteinIdentification::ProteinGroup > &  grps,
const std::unordered_set< std::string > &  decoy_accs 
)
static