OpenMS  2.4.0
Public Member Functions | Private Attributes | List of all members
PSProteinInference Class Reference

This class implements protein inference for the precursor ion selection strategies. More...

#include <OpenMS/ANALYSIS/TARGETED/PSProteinInference.h>

Public Member Functions

 PSProteinInference ()
 
virtual ~PSProteinInference ()
 
Size findMinimalProteinList (const std::vector< PeptideIdentification > &peptide_ids)
 
void calculateProteinProbabilities (const std::vector< PeptideIdentification > &ids)
 
double getProteinProbability (const String &acc)
 
bool isProteinInMinimalList (const String &acc)
 
Int getNumberOfProtIds (double protein_id_threshold)
 
Int getNumberOfProtIdsPeptideRule (Int min_peptides, std::map< String, std::set< String > > &prot_id_counter)
 
void setSolver (LPWrapper::SOLVER solver)
 
LPWrapper::SOLVER getSolver ()
 

Private Attributes

std::vector< Stringminimal_protein_list_accessions_
 
std::vector< Stringaccessions_
 
std::vector< doubleprobabilities_
 
LPWrapper::SOLVER solver_
 

Detailed Description

This class implements protein inference for the precursor ion selection strategies.

Constructor & Destructor Documentation

◆ PSProteinInference()

◆ ~PSProteinInference()

virtual ~PSProteinInference ( )
virtual

Member Function Documentation

◆ calculateProteinProbabilities()

void calculateProteinProbabilities ( const std::vector< PeptideIdentification > &  ids)

◆ findMinimalProteinList()

Size findMinimalProteinList ( const std::vector< PeptideIdentification > &  peptide_ids)

◆ getNumberOfProtIds()

Int getNumberOfProtIds ( double  protein_id_threshold)

◆ getNumberOfProtIdsPeptideRule()

Int getNumberOfProtIdsPeptideRule ( Int  min_peptides,
std::map< String, std::set< String > > &  prot_id_counter 
)

◆ getProteinProbability()

double getProteinProbability ( const String acc)

◆ getSolver()

LPWrapper::SOLVER getSolver ( )
inline

◆ isProteinInMinimalList()

bool isProteinInMinimalList ( const String acc)

◆ setSolver()

void setSolver ( LPWrapper::SOLVER  solver)
inline

Member Data Documentation

◆ accessions_

std::vector<String> accessions_
private

◆ minimal_protein_list_accessions_

std::vector<String> minimal_protein_list_accessions_
private

◆ probabilities_

std::vector<double> probabilities_
private

◆ solver_

LPWrapper::SOLVER solver_
private