OpenMS
DBSuitability_friend Class Reference

#include <OpenMS/QC/DBSuitability.h>

Collaboration diagram for DBSuitability_friend:
[legend]

Public Member Functions

 DBSuitability_friend ()=default
 
 ~DBSuitability_friend ()=default
 
std::vector< FASTAFile::FASTAEntrygetSubsampledFasta (const std::vector< FASTAFile::FASTAEntry > &fasta_data, double subsampling_rate)
 
void appendDecoys (std::vector< FASTAFile::FASTAEntry > &fasta)
 
double calculateCorrectionFactor (const DBSuitability::SuitabilityData &data, const DBSuitability::SuitabilityData &data_sampled, double sampling_rate)
 
UInt numberOfUniqueProteins (const std::vector< PeptideIdentification > &peps, UInt number_of_hits=1)
 
Size getIndexWithMedianNovoHits (const std::vector< DBSuitability::SuitabilityData > &data)
 
double getScoreMatchingFDR (const std::vector< PeptideIdentification > &pep_ids, double FDR, String score_name, bool higher_score_better)
 

Private Attributes

DBSuitability suit_
 

Constructor & Destructor Documentation

◆ DBSuitability_friend()

DBSuitability_friend ( )
default

◆ ~DBSuitability_friend()

~DBSuitability_friend ( )
default

Member Function Documentation

◆ appendDecoys()

void appendDecoys ( std::vector< FASTAFile::FASTAEntry > &  fasta)
inline

◆ calculateCorrectionFactor()

double calculateCorrectionFactor ( const DBSuitability::SuitabilityData data,
const DBSuitability::SuitabilityData data_sampled,
double  sampling_rate 
)
inline

◆ getIndexWithMedianNovoHits()

Size getIndexWithMedianNovoHits ( const std::vector< DBSuitability::SuitabilityData > &  data)
inline

◆ getScoreMatchingFDR()

double getScoreMatchingFDR ( const std::vector< PeptideIdentification > &  pep_ids,
double  FDR,
String  score_name,
bool  higher_score_better 
)
inline

◆ getSubsampledFasta()

std::vector<FASTAFile::FASTAEntry> getSubsampledFasta ( const std::vector< FASTAFile::FASTAEntry > &  fasta_data,
double  subsampling_rate 
)
inline

◆ numberOfUniqueProteins()

UInt numberOfUniqueProteins ( const std::vector< PeptideIdentification > &  peps,
UInt  number_of_hits = 1 
)
inline

Member Data Documentation

◆ suit_