OpenMS
Loading...
Searching...
No Matches
PercolatorReset::Input Struct Reference

Rows: one per PSM (all hits of all spectra), in any order. More...

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

Public Member Functions

Size rowCount () const
 Number of rows: of features, or else of the dense feature_matrix.
 
const double * row (Size i) const
 Row i: of features, or else of the dense feature_matrix.
 

Public Attributes

std::vector< std::vector< double > > features
 feature rows (all of the same length); empty if the rows are in the dense feature_matrix
 
std::vector< double > feature_matrix
 
std::vector< std::string > feature_names
 one name per feature column
 
std::vector< bool > is_decoy
 per row
 
std::vector< double > search_scores
 per row: search engine score, higher = better
 
std::vector< Size > spectrum
 per row: spectrum (competition unit) of the PSM
 
std::vector< std::string > stems
 
std::vector< char > decoy_set
 

Detailed Description

Rows: one per PSM (all hits of all spectra), in any order.

Member Function Documentation

◆ row()

const double * row ( Size  i) const
inline

Row i: of features, or else of the dense feature_matrix.

◆ rowCount()

Size rowCount ( ) const
inline

Number of rows: of features, or else of the dense feature_matrix.

Member Data Documentation

◆ decoy_set

std::vector<char> decoy_set

per row (Options::decoy_databases = 2 only, else may be empty): 1 or 2 = the decoy database of a decoy row, 3 = a decoy sequence of both databases (shared; then that hypothesis has fewer than two distinct decoys), 0 for targets

◆ feature_matrix

std::vector<double> feature_matrix

the rows, dense (row-major, feature_names.size() values per row; is_decoy.size() rows), if features is empty (Percolator::rescorePSMs() moves RescoreInput::feature_matrix here: no copy per row)

◆ feature_names

std::vector<std::string> feature_names

one name per feature column

◆ features

std::vector<std::vector<double> > features

feature rows (all of the same length); empty if the rows are in the dense feature_matrix

◆ is_decoy

std::vector<bool> is_decoy

per row

◆ search_scores

std::vector<double> search_scores

per row: search engine score, higher = better

◆ spectrum

std::vector<Size> spectrum

per row: spectrum (competition unit) of the PSM

◆ stems

std::vector<std::string> stems

per row: unmodified peptide sequence