MRMFeatureSelectorQMIP#

class pyopenms.MRMFeatureSelectorQMIP#

Bases: object

Select MRM features using Quadratic Mixed Integer Programming (QMIP)

This class selects MRMFeatures based on relative retention time using a quadratic mixed integer programming formulation. The method optimizes feature selection while maintaining retention time consistency between neighboring transitions.

Example usage:

from pyopenms import *

# Load features
features = FeatureMap()
FeatureXMLFile().load("features.featureXML", features)

# Configure parameters
params = SelectorParameters()
params.nn_threshold = 4
params.optimal_threshold = 0.5

# Run QMIP selection
selector = MRMFeatureSelectorQMIP()
selected = FeatureMap()
selector.selectMRMFeature(features, selected, params)
__init__() → None#
__init__(arg: pyopenms.MRMFeatureSelectorQMIP, /) → None

Methods

__init__()

selectMRMFeature(features, ...)

Select MRM features using quadratic mixed integer programming

selectMRMFeature(features: pyopenms.FeatureMap, selected_filtered: pyopenms.FeatureMap, parameters: pyopenms.SelectorParameters) → None#

Select MRM features using quadratic mixed integer programming

The features are sorted by retention time and split into segments with the given step and window length. The features are then selected based on relative retention time relationships using QMIP optimization.

Parameters:
  • features – Input FeatureMap

  • selected_filtered – Output FeatureMap with selected features

  • parameters – SelectorParameters configuration