OpenMS
MRMBatchFeatureSelector Class Reference

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

Public Member Functions

 MRMBatchFeatureSelector ()=delete
 
 ~MRMBatchFeatureSelector ()=delete
 

Static Public Member Functions

static void batchMRMFeatures (const MRMFeatureSelector &feature_selector, const FeatureMap &features, FeatureMap &selected_features, const std::vector< MRMFeatureSelector::SelectorParameters > &parameters)
 
static void batchMRMFeaturesScore (const FeatureMap &features, FeatureMap &selected_features, const std::vector< MRMFeatureSelector::SelectorParameters > &parameters)
 Calls batchMRMFeatures() using a MRMFeatureSelectorScore selector. More...
 
static void batchMRMFeaturesQMIP (const FeatureMap &features, FeatureMap &selected_features, const std::vector< MRMFeatureSelector::SelectorParameters > &parameters)
 Calls batchMRMFeatures() using a MRMFeatureSelectorQMIP selector. More...
 

Detailed Description

Class used to batch multiple calls to MRMFeatureSelector's methods. The class offers a generic batch method (where the user is supposed to pass a MRMFeatureSelector derived object) and two specialized versions (Score and QMIP).

Constructor & Destructor Documentation

◆ MRMBatchFeatureSelector()

◆ ~MRMBatchFeatureSelector()

Member Function Documentation

◆ batchMRMFeatures()

static void batchMRMFeatures ( const MRMFeatureSelector feature_selector,
const FeatureMap features,
FeatureMap selected_features,
const std::vector< MRMFeatureSelector::SelectorParameters > &  parameters 
)
static

Calls feature_selector.selectMRMFeature() feeding it the parameters found in parameters. It calls said method parameters.size() times, using the result of each cycle as input for the next cycle.

Parameters
[in]feature_selectorBase class for the feature selector to use
[in]featuresInput features
[out]selected_featuresSelected features
[in]parametersVector of parameters for the multiple calls to the selector

◆ batchMRMFeaturesQMIP()

static void batchMRMFeaturesQMIP ( const FeatureMap features,
FeatureMap selected_features,
const std::vector< MRMFeatureSelector::SelectorParameters > &  parameters 
)
static

Calls batchMRMFeatures() using a MRMFeatureSelectorQMIP selector.

◆ batchMRMFeaturesScore()

static void batchMRMFeaturesScore ( const FeatureMap features,
FeatureMap selected_features,
const std::vector< MRMFeatureSelector::SelectorParameters > &  parameters 
)
static