102 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); };
103 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
104 return members_eq && meta_values_eq;
108 return !(*
this == other);
116 double retention_time_l { 0.0 };
118 double retention_time_u { 1e12 };
120 double intensity_l { 0.0 };
122 double intensity_u { 1e12 };
124 double overall_quality_l { 0.0 };
126 double overall_quality_u { 1e12 };
144 component_group_name,
163 ion_ratio_pair_name_1,
164 ion_ratio_pair_name_2,
167 ion_ratio_feature_name
194 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); };
195 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
196 return members_eq && meta_values_eq;
200 return !(*
this == other);
206 double retention_time_l { 0.0 };
208 double retention_time_u { 1e12 };
210 double intensity_l { 0.0 };
212 double intensity_u { 1e12 };
214 double overall_quality_l { 0.0 };
216 double overall_quality_u { 1e12 };
226 Int n_detecting_u { 100 };
227 Int n_quantifying_l { 0 };
228 Int n_quantifying_u { 100 };
229 Int n_identifying_l { 0 };
230 Int n_identifying_u { 100 };
231 Int n_transitions_l { 0 };
232 Int n_transitions_u { 100 };
237 double ion_ratio_l { 0.0 };
238 double ion_ratio_u { 1e12 };
The MRMFeatureQC is a class to handle the parameters and options for MRMFeatureFilter.
Definition: MRMFeatureQC.h:61
~MRMFeatureQC()=default
Destructor.
String component_group_name
name of the component
Definition: MRMFeatureQC.h:255
std::vector< ComponentQCs > component_qcs
list of all component QCs
Definition: MRMFeatureQC.h:270
double rt_diff_l
retention time lower bound
Definition: MRMFeatureQC.h:263
double resolution_l
resolution lower bound
Definition: MRMFeatureQC.h:259
std::vector< ComponentGroupPairQCs > component_group_pair_qcs
list of all component group pair QCs
Definition: MRMFeatureQC.h:274
std::vector< ComponentGroupQCs > component_group_qcs
list of all component group QCs
Definition: MRMFeatureQC.h:272
double resolution_u
resolution upper bound
Definition: MRMFeatureQC.h:261
double rt_diff_u
retention time upper bound
Definition: MRMFeatureQC.h:265
String resolution_pair_name
name of the component to calculate the resolution or retention time
Definition: MRMFeatureQC.h:257
Quality Controls (QCs) for multiple components (between or within component_groups)
Definition: MRMFeatureQC.h:252
A more convenient string class.
Definition: String.h:61
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Quality Controls (QCs) within a component group.
Definition: MRMFeatureQC.h:140
double ion_ratio_u
Definition: MRMFeatureQC.h:238
bool operator==(const ComponentGroupQCs &other) const
Definition: MRMFeatureQC.h:141
Int n_light_u
Definition: MRMFeatureQC.h:224
String component_group_name
name of the component group
Definition: MRMFeatureQC.h:203
Int n_light_l
Definition: MRMFeatureQC.h:223
bool operator!=(const ComponentGroupQCs &other) const
Definition: MRMFeatureQC.h:198
double intensity_u
intensity upper bound
Definition: MRMFeatureQC.h:212
Int n_transitions_l
Definition: MRMFeatureQC.h:231
Int n_heavy_l
number of heavy ion lower bound
Definition: MRMFeatureQC.h:220
double ion_ratio_l
Definition: MRMFeatureQC.h:237
Int n_identifying_l
Definition: MRMFeatureQC.h:229
double retention_time_l
retention time lower bound
Definition: MRMFeatureQC.h:206
double overall_quality_l
overall quality lower bound
Definition: MRMFeatureQC.h:214
Int n_identifying_u
Definition: MRMFeatureQC.h:230
Int n_quantifying_l
Definition: MRMFeatureQC.h:227
String ion_ratio_pair_name_2
Definition: MRMFeatureQC.h:236
Int n_quantifying_u
Definition: MRMFeatureQC.h:228
Int n_detecting_u
Definition: MRMFeatureQC.h:226
double retention_time_u
retention time upper bound
Definition: MRMFeatureQC.h:208
double overall_quality_u
overall quality upper bound
Definition: MRMFeatureQC.h:216
String ion_ratio_feature_name
Definition: MRMFeatureQC.h:239
std::map< String, std::pair< double, double > > meta_value_qc
Definition: MRMFeatureQC.h:240
Int n_heavy_u
number of heavy ion upper bound
Definition: MRMFeatureQC.h:222
double intensity_l
intensity lower bound
Definition: MRMFeatureQC.h:210
Int n_detecting_l
Definition: MRMFeatureQC.h:225
Int n_transitions_u
Definition: MRMFeatureQC.h:232
String ion_ratio_pair_name_1
Definition: MRMFeatureQC.h:235
Quality Controls (QCs) for individual components.
Definition: MRMFeatureQC.h:82
String component_name
name of the component
Definition: MRMFeatureQC.h:112
double intensity_u
intensity upper bound
Definition: MRMFeatureQC.h:122
bool operator==(const ComponentQCs &other) const
Definition: MRMFeatureQC.h:83
double retention_time_l
retention time lower bound
Definition: MRMFeatureQC.h:116
double overall_quality_l
overall quality lower bound
Definition: MRMFeatureQC.h:124
double retention_time_u
retention time upper bound
Definition: MRMFeatureQC.h:118
double overall_quality_u
overall quality upper bound
Definition: MRMFeatureQC.h:126
bool operator!=(const ComponentQCs &other) const
Definition: MRMFeatureQC.h:106
std::map< String, std::pair< double, double > > meta_value_qc
Feature MetaValues.
Definition: MRMFeatureQC.h:129
double intensity_l
intensity lower bound
Definition: MRMFeatureQC.h:120