SelectorParameters#
- class pyopenms.SelectorParameters#
Bases:
objectStructure to configure MRMFeatureSelector parameters
Attributes:
nn_threshold: Number of nearest neighbors to include in optimization (default: 4)
locality_weight: Weight compounds by retention time proximity (default: False)
select_transition_group: Use component groups instead of components (default: True)
segment_window_length: Number of components in the sliding window (default: 8)
segment_step_length: Step size for sliding window (default: 4)
optimal_threshold: Cutoff for selection, 0 < x < 1 (default: 0.5)
Example:
from pyopenms import * params = SelectorParameters() params.nn_threshold = 6 params.optimal_threshold = 0.7 params.select_transition_group = False
- __init__() None#
- __init__(arg: pyopenms.SelectorParameters, /) None
Methods
__init__()Attributes
- property locality_weight: bool#
- property nn_threshold: int#
- property optimal_threshold: float#
- property segment_step_length: int#
- property segment_window_length: int#
- property select_transition_group: bool#