99 auto compare_maps = [](std::pair<std::string, std::pair<double, double>> lhs, std::pair<std::string, std::pair<double, double>> rhs) {
return (lhs.first == rhs.first && lhs.second.first == rhs.second.first && lhs.second.second == rhs.second.second); };
100 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
101 return members_eq && meta_values_eq;
105 return !(*
this == other);
113 double retention_time_l { 0.0 };
115 double retention_time_u { 1e12 };
117 double intensity_l { 0.0 };
119 double intensity_u { 1e12 };
121 double overall_quality_l { 0.0 };
123 double overall_quality_u { 1e12 };
141 component_group_name,
160 ion_ratio_pair_name_1,
161 ion_ratio_pair_name_2,
164 ion_ratio_feature_name
191 auto compare_maps = [](std::pair<std::string, std::pair<double, double>> lhs, std::pair<std::string, std::pair<double, double>> rhs) {
return (lhs.first == rhs.first && lhs.second.first == rhs.second.first && lhs.second.second == rhs.second.second); };
192 bool meta_values_eq = std::equal(meta_value_qc.begin(), meta_value_qc.end(), other.
meta_value_qc.begin(), compare_maps);
193 return members_eq && meta_values_eq;
197 return !(*
this == other);
203 double retention_time_l { 0.0 };
205 double retention_time_u { 1e12 };
207 double intensity_l { 0.0 };
209 double intensity_u { 1e12 };
211 double overall_quality_l { 0.0 };
213 double overall_quality_u { 1e12 };
223 Int n_detecting_u { 100 };
224 Int n_quantifying_l { 0 };
225 Int n_quantifying_u { 100 };
226 Int n_identifying_l { 0 };
227 Int n_identifying_u { 100 };
228 Int n_transitions_l { 0 };
229 Int n_transitions_u { 100 };
234 double ion_ratio_l { 0.0 };
235 double ion_ratio_u { 1e12 };
The MRMFeatureQC is a class to handle the parameters and options for MRMFeatureFilter.
Definition MRMFeatureQC.h:58
~MRMFeatureQC()=default
Destructor.
std::vector< ComponentQCs > component_qcs
list of all component QCs
Definition MRMFeatureQC.h:267
double rt_diff_l
retention time lower bound
Definition MRMFeatureQC.h:260
std::string resolution_pair_name
name of the component to calculate the resolution or retention time
Definition MRMFeatureQC.h:254
double resolution_l
resolution lower bound
Definition MRMFeatureQC.h:256
std::vector< ComponentGroupPairQCs > component_group_pair_qcs
list of all component group pair QCs
Definition MRMFeatureQC.h:271
MRMFeatureQC()=default
Constructor.
std::string component_group_name
name of the component
Definition MRMFeatureQC.h:252
std::vector< ComponentGroupQCs > component_group_qcs
list of all component group QCs
Definition MRMFeatureQC.h:269
double resolution_u
resolution upper bound
Definition MRMFeatureQC.h:258
double rt_diff_u
retention time upper bound
Definition MRMFeatureQC.h:262
Quality Controls (QCs) for multiple components (between or within component_groups)
Definition MRMFeatureQC.h:249
int Int
Signed integer type.
Definition Types.h:72
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Quality Controls (QCs) within a component group.
Definition MRMFeatureQC.h:137
std::string ion_ratio_pair_name_1
Definition MRMFeatureQC.h:232
double ion_ratio_u
Definition MRMFeatureQC.h:235
bool operator==(const ComponentGroupQCs &other) const
Definition MRMFeatureQC.h:138
Int n_light_u
Definition MRMFeatureQC.h:221
Int n_light_l
Definition MRMFeatureQC.h:220
bool operator!=(const ComponentGroupQCs &other) const
Definition MRMFeatureQC.h:195
double intensity_u
intensity upper bound
Definition MRMFeatureQC.h:209
Int n_transitions_l
Definition MRMFeatureQC.h:228
Int n_heavy_l
number of heavy ion lower bound
Definition MRMFeatureQC.h:217
double ion_ratio_l
Definition MRMFeatureQC.h:234
Int n_identifying_l
Definition MRMFeatureQC.h:226
double retention_time_l
retention time lower bound
Definition MRMFeatureQC.h:203
double overall_quality_l
overall quality lower bound
Definition MRMFeatureQC.h:211
Int n_identifying_u
Definition MRMFeatureQC.h:227
Int n_quantifying_l
Definition MRMFeatureQC.h:224
std::string ion_ratio_pair_name_2
Definition MRMFeatureQC.h:233
std::string ion_ratio_feature_name
Definition MRMFeatureQC.h:236
Int n_quantifying_u
Definition MRMFeatureQC.h:225
std::string component_group_name
name of the component group
Definition MRMFeatureQC.h:200
Int n_detecting_u
Definition MRMFeatureQC.h:223
double retention_time_u
retention time upper bound
Definition MRMFeatureQC.h:205
std::map< std::string, std::pair< double, double > > meta_value_qc
Definition MRMFeatureQC.h:237
double overall_quality_u
overall quality upper bound
Definition MRMFeatureQC.h:213
Int n_heavy_u
number of heavy ion upper bound
Definition MRMFeatureQC.h:219
double intensity_l
intensity lower bound
Definition MRMFeatureQC.h:207
Int n_detecting_l
Definition MRMFeatureQC.h:222
Int n_transitions_u
Definition MRMFeatureQC.h:229
Quality Controls (QCs) for individual components.
Definition MRMFeatureQC.h:79
std::string component_name
name of the component
Definition MRMFeatureQC.h:109
double intensity_u
intensity upper bound
Definition MRMFeatureQC.h:119
bool operator==(const ComponentQCs &other) const
Definition MRMFeatureQC.h:80
double retention_time_l
retention time lower bound
Definition MRMFeatureQC.h:113
double overall_quality_l
overall quality lower bound
Definition MRMFeatureQC.h:121
double retention_time_u
retention time upper bound
Definition MRMFeatureQC.h:115
std::map< std::string, std::pair< double, double > > meta_value_qc
Feature MetaValues.
Definition MRMFeatureQC.h:126
double overall_quality_u
overall quality upper bound
Definition MRMFeatureQC.h:123
bool operator!=(const ComponentQCs &other) const
Definition MRMFeatureQC.h:103
double intensity_l
intensity lower bound
Definition MRMFeatureQC.h:117