100 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); };
101 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
102 return members_eq && meta_values_eq;
106 return !(*
this == other);
114 double retention_time_l { 0.0 };
116 double retention_time_u { 1e12 };
118 double intensity_l { 0.0 };
120 double intensity_u { 1e12 };
122 double overall_quality_l { 0.0 };
124 double overall_quality_u { 1e12 };
142 component_group_name,
161 ion_ratio_pair_name_1,
162 ion_ratio_pair_name_2,
165 ion_ratio_feature_name
192 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); };
193 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
194 return members_eq && meta_values_eq;
198 return !(*
this == other);
204 double retention_time_l { 0.0 };
206 double retention_time_u { 1e12 };
208 double intensity_l { 0.0 };
210 double intensity_u { 1e12 };
212 double overall_quality_l { 0.0 };
214 double overall_quality_u { 1e12 };
224 Int n_detecting_u { 100 };
225 Int n_quantifying_l { 0 };
226 Int n_quantifying_u { 100 };
227 Int n_identifying_l { 0 };
228 Int n_identifying_u { 100 };
229 Int n_transitions_l { 0 };
230 Int n_transitions_u { 100 };
235 double ion_ratio_l { 0.0 };
236 double ion_ratio_u { 1e12 };
The MRMFeatureQC is a class to handle the parameters and options for MRMFeatureFilter.
Definition: MRMFeatureQC.h:59
~MRMFeatureQC()=default
Destructor.
String component_group_name
name of the component
Definition: MRMFeatureQC.h:253
std::vector< ComponentQCs > component_qcs
list of all component QCs
Definition: MRMFeatureQC.h:268
double rt_diff_l
retention time lower bound
Definition: MRMFeatureQC.h:261
double resolution_l
resolution lower bound
Definition: MRMFeatureQC.h:257
std::vector< ComponentGroupPairQCs > component_group_pair_qcs
list of all component group pair QCs
Definition: MRMFeatureQC.h:272
std::vector< ComponentGroupQCs > component_group_qcs
list of all component group QCs
Definition: MRMFeatureQC.h:270
double resolution_u
resolution upper bound
Definition: MRMFeatureQC.h:259
double rt_diff_u
retention time upper bound
Definition: MRMFeatureQC.h:263
String resolution_pair_name
name of the component to calculate the resolution or retention time
Definition: MRMFeatureQC.h:255
Quality Controls (QCs) for multiple components (between or within component_groups)
Definition: MRMFeatureQC.h:250
A more convenient string class.
Definition: String.h:60
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:138
double ion_ratio_u
Definition: MRMFeatureQC.h:236
bool operator==(const ComponentGroupQCs &other) const
Definition: MRMFeatureQC.h:139
Int n_light_u
Definition: MRMFeatureQC.h:222
String component_group_name
name of the component group
Definition: MRMFeatureQC.h:201
Int n_light_l
Definition: MRMFeatureQC.h:221
bool operator!=(const ComponentGroupQCs &other) const
Definition: MRMFeatureQC.h:196
double intensity_u
intensity upper bound
Definition: MRMFeatureQC.h:210
Int n_transitions_l
Definition: MRMFeatureQC.h:229
Int n_heavy_l
number of heavy ion lower bound
Definition: MRMFeatureQC.h:218
double ion_ratio_l
Definition: MRMFeatureQC.h:235
Int n_identifying_l
Definition: MRMFeatureQC.h:227
double retention_time_l
retention time lower bound
Definition: MRMFeatureQC.h:204
double overall_quality_l
overall quality lower bound
Definition: MRMFeatureQC.h:212
Int n_identifying_u
Definition: MRMFeatureQC.h:228
Int n_quantifying_l
Definition: MRMFeatureQC.h:225
String ion_ratio_pair_name_2
Definition: MRMFeatureQC.h:234
Int n_quantifying_u
Definition: MRMFeatureQC.h:226
Int n_detecting_u
Definition: MRMFeatureQC.h:224
double retention_time_u
retention time upper bound
Definition: MRMFeatureQC.h:206
double overall_quality_u
overall quality upper bound
Definition: MRMFeatureQC.h:214
String ion_ratio_feature_name
Definition: MRMFeatureQC.h:237
std::map< String, std::pair< double, double > > meta_value_qc
Definition: MRMFeatureQC.h:238
Int n_heavy_u
number of heavy ion upper bound
Definition: MRMFeatureQC.h:220
double intensity_l
intensity lower bound
Definition: MRMFeatureQC.h:208
Int n_detecting_l
Definition: MRMFeatureQC.h:223
Int n_transitions_u
Definition: MRMFeatureQC.h:230
String ion_ratio_pair_name_1
Definition: MRMFeatureQC.h:233
Quality Controls (QCs) for individual components.
Definition: MRMFeatureQC.h:80
String component_name
name of the component
Definition: MRMFeatureQC.h:110
double intensity_u
intensity upper bound
Definition: MRMFeatureQC.h:120
bool operator==(const ComponentQCs &other) const
Definition: MRMFeatureQC.h:81
double retention_time_l
retention time lower bound
Definition: MRMFeatureQC.h:114
double overall_quality_l
overall quality lower bound
Definition: MRMFeatureQC.h:122
double retention_time_u
retention time upper bound
Definition: MRMFeatureQC.h:116
double overall_quality_u
overall quality upper bound
Definition: MRMFeatureQC.h:124
bool operator!=(const ComponentQCs &other) const
Definition: MRMFeatureQC.h:104
std::map< String, std::pair< double, double > > meta_value_qc
Feature MetaValues.
Definition: MRMFeatureQC.h:127
double intensity_l
intensity lower bound
Definition: MRMFeatureQC.h:118