OpenMS  2.8.0
Public Member Functions | Public Attributes | List of all members
MRMFeatureSelector::SelectorParameters Struct Reference

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

Collaboration diagram for MRMFeatureSelector::SelectorParameters:
[legend]

Public Member Functions

 SelectorParameters ()=default
 
 SelectorParameters (Int nn, bool lw, bool stg, Int swl, Int ssl, MRMFeatureSelector::VariableType vt, double ot, std::map< String, MRMFeatureSelector::LambdaScore > &sw)
 

Public Attributes

Int nn_threshold = 4
 Nearest neighbor threshold: the number of components or component groups to the left and right to include in the optimization problem (i.e. number of nearest compounds by Tr to include in network) More...
 
bool locality_weight = false
 Weight compounds with a nearer Tr greater than compounds with a further Tr. More...
 
bool select_transition_group = true
 Use components groups instead of components for retention time optimization. More...
 
Int segment_window_length = 8
 Number of components or component groups to include in the network. More...
 
Int segment_step_length = 4
 Number of of components or component groups to shift the `segment_window_length` at each loop. More...
 
MRMFeatureSelector::VariableType variable_type = MRMFeatureSelector::VariableType::CONTINUOUS
 INTEGER or CONTINUOUS. More...
 
double optimal_threshold = 0.5
 Value above which the transition group or transition is considered optimal (0 < x < 1) More...
 
std::map< String, MRMFeatureSelector::LambdaScorescore_weights
 Weights for the scores. More...
 

Detailed Description

Structure to easily feed the parameters to the `MRMFeatureSelector` derived classes

Constructor & Destructor Documentation

◆ SelectorParameters() [1/2]

SelectorParameters ( )
default

◆ SelectorParameters() [2/2]

SelectorParameters ( Int  nn,
bool  lw,
bool  stg,
Int  swl,
Int  ssl,
MRMFeatureSelector::VariableType  vt,
double  ot,
std::map< String, MRMFeatureSelector::LambdaScore > &  sw 
)
inline

Member Data Documentation

◆ locality_weight

bool locality_weight = false

Weight compounds with a nearer Tr greater than compounds with a further Tr.

◆ nn_threshold

Int nn_threshold = 4

Nearest neighbor threshold: the number of components or component groups to the left and right to include in the optimization problem (i.e. number of nearest compounds by Tr to include in network)

◆ optimal_threshold

double optimal_threshold = 0.5

Value above which the transition group or transition is considered optimal (0 < x < 1)

◆ score_weights

std::map<String, MRMFeatureSelector::LambdaScore> score_weights

Weights for the scores.

◆ segment_step_length

Int segment_step_length = 4

Number of of components or component groups to shift the `segment_window_length` at each loop.

◆ segment_window_length

Int segment_window_length = 8

Number of components or component groups to include in the network.

◆ select_transition_group

bool select_transition_group = true

Use components groups instead of components for retention time optimization.

◆ variable_type

INTEGER or CONTINUOUS.