74 auto compare_maps = [](std::pair<String, std::pair<double, double>> lhs, std::pair<String, std::pair<double, double>> rhs) {
return (lhs.first == rhs.first && lhs.second.first == rhs.second.first && lhs.second.second == rhs.second.second); };
75 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
76 return members_eq && meta_values_eq;
80 return !(*
this == other);
88 double retention_time_l { 0.0 };
90 double retention_time_u { 1e12 };
92 double intensity_l { 0.0 };
94 double intensity_u { 1e12 };
96 double overall_quality_l { 0.0 };
98 double overall_quality_u { 1e12 };
116 component_group_name,
135 ion_ratio_pair_name_1,
136 ion_ratio_pair_name_2,
139 ion_ratio_feature_name
166 auto compare_maps = [](std::pair<String, std::pair<double, double>> lhs, std::pair<String, std::pair<double, double>> rhs) {
return (lhs.first == rhs.first && lhs.second.first == rhs.second.first && lhs.second.second == rhs.second.second); };
167 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
168 return members_eq && meta_values_eq;
172 return !(*
this == other);
178 double retention_time_l { 0.0 };
180 double retention_time_u { 1e12 };
182 double intensity_l { 0.0 };
184 double intensity_u { 1e12 };
186 double overall_quality_l { 0.0 };
188 double overall_quality_u { 1e12 };
198 Int n_detecting_u { 100 };
199 Int n_quantifying_l { 0 };
200 Int n_quantifying_u { 100 };
201 Int n_identifying_l { 0 };
202 Int n_identifying_u { 100 };
203 Int n_transitions_l { 0 };
204 Int n_transitions_u { 100 };
209 double ion_ratio_l { 0.0 };
210 double ion_ratio_u { 1e12 };
The MRMFeatureQC is a class to handle the parameters and options for MRMFeatureFilter.
Definition: MRMFeatureQC.h:33
~MRMFeatureQC()=default
Destructor.
String component_group_name
name of the component
Definition: MRMFeatureQC.h:227
std::vector< ComponentQCs > component_qcs
list of all component QCs
Definition: MRMFeatureQC.h:242
double rt_diff_l
retention time lower bound
Definition: MRMFeatureQC.h:235
double resolution_l
resolution lower bound
Definition: MRMFeatureQC.h:231
std::vector< ComponentGroupPairQCs > component_group_pair_qcs
list of all component group pair QCs
Definition: MRMFeatureQC.h:246
std::vector< ComponentGroupQCs > component_group_qcs
list of all component group QCs
Definition: MRMFeatureQC.h:244
double resolution_u
resolution upper bound
Definition: MRMFeatureQC.h:233
double rt_diff_u
retention time upper bound
Definition: MRMFeatureQC.h:237
String resolution_pair_name
name of the component to calculate the resolution or retention time
Definition: MRMFeatureQC.h:229
Quality Controls (QCs) for multiple components (between or within component_groups)
Definition: MRMFeatureQC.h:224
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Quality Controls (QCs) within a component group.
Definition: MRMFeatureQC.h:112
double ion_ratio_u
Definition: MRMFeatureQC.h:210
bool operator==(const ComponentGroupQCs &other) const
Definition: MRMFeatureQC.h:113
Int n_light_u
Definition: MRMFeatureQC.h:196
String component_group_name
name of the component group
Definition: MRMFeatureQC.h:175
Int n_light_l
Definition: MRMFeatureQC.h:195
bool operator!=(const ComponentGroupQCs &other) const
Definition: MRMFeatureQC.h:170
double intensity_u
intensity upper bound
Definition: MRMFeatureQC.h:184
Int n_transitions_l
Definition: MRMFeatureQC.h:203
Int n_heavy_l
number of heavy ion lower bound
Definition: MRMFeatureQC.h:192
double ion_ratio_l
Definition: MRMFeatureQC.h:209
Int n_identifying_l
Definition: MRMFeatureQC.h:201
double retention_time_l
retention time lower bound
Definition: MRMFeatureQC.h:178
double overall_quality_l
overall quality lower bound
Definition: MRMFeatureQC.h:186
Int n_identifying_u
Definition: MRMFeatureQC.h:202
Int n_quantifying_l
Definition: MRMFeatureQC.h:199
String ion_ratio_pair_name_2
Definition: MRMFeatureQC.h:208
Int n_quantifying_u
Definition: MRMFeatureQC.h:200
Int n_detecting_u
Definition: MRMFeatureQC.h:198
double retention_time_u
retention time upper bound
Definition: MRMFeatureQC.h:180
double overall_quality_u
overall quality upper bound
Definition: MRMFeatureQC.h:188
String ion_ratio_feature_name
Definition: MRMFeatureQC.h:211
std::map< String, std::pair< double, double > > meta_value_qc
Definition: MRMFeatureQC.h:212
Int n_heavy_u
number of heavy ion upper bound
Definition: MRMFeatureQC.h:194
double intensity_l
intensity lower bound
Definition: MRMFeatureQC.h:182
Int n_detecting_l
Definition: MRMFeatureQC.h:197
Int n_transitions_u
Definition: MRMFeatureQC.h:204
String ion_ratio_pair_name_1
Definition: MRMFeatureQC.h:207
Quality Controls (QCs) for individual components.
Definition: MRMFeatureQC.h:54
String component_name
name of the component
Definition: MRMFeatureQC.h:84
double intensity_u
intensity upper bound
Definition: MRMFeatureQC.h:94
bool operator==(const ComponentQCs &other) const
Definition: MRMFeatureQC.h:55
double retention_time_l
retention time lower bound
Definition: MRMFeatureQC.h:88
double overall_quality_l
overall quality lower bound
Definition: MRMFeatureQC.h:96
double retention_time_u
retention time upper bound
Definition: MRMFeatureQC.h:90
double overall_quality_u
overall quality upper bound
Definition: MRMFeatureQC.h:98
bool operator!=(const ComponentQCs &other) const
Definition: MRMFeatureQC.h:78
std::map< String, std::pair< double, double > > meta_value_qc
Feature MetaValues.
Definition: MRMFeatureQC.h:101
double intensity_l
intensity lower bound
Definition: MRMFeatureQC.h:92