35 #ifndef OPENMS_ANALYSIS_OPENSWATH_OPENSWATHHELPER_H 36 #define OPENMS_ANALYSIS_OPENSWATH_OPENSWATHHELPER_H 61 double lower,
double upper);
70 double lower,
double upper);
86 double& lower,
double& upper);
91 template <
class TargetedExperimentT>
93 const TargetedExperimentT& targeted_exp, TargetedExperimentT& transition_exp_used,
double min_upper_edge_dist)
95 if (exp.
size() == 0 || exp[0].getPrecursors().
size() == 0)
98 <<
" does not have any experiments or any precursors. Is it a SWATH map? " 99 <<
"I will move to the next map." 106 if (transition_exp_used.getTransitions().size() == 0)
109 <<
" no transition were within the precursor window of " << lower <<
" to " << upper
110 <<
"I will move to the next map." 133 static std::map<std::string, double> simpleFindBestFeature(
135 bool useQualCutoff =
false,
double qualCutoff = 0.0);
138 #endif // OPENMS_ANALYSIS_OPENSWATH_OPENSWATHHELPER_H
A helper class that is used by several OpenSWATH tools.
Definition: OpenSwathHelper.h:49
std::map< String, MRMTransitionGroupType > TransitionGroupMapType
Definition: MRMFeatureFinderScoring.h:110
Size size() const
Definition: MSExperiment.h:132
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
const String & getLoadedFilePath() const
get the file_name_ which is the absolute path to the file loaded from
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:82
static void checkSwathMap(const OpenMS::PeakMap &swath_map, double &lower, double &upper)
Get the lower / upper offset for this SWATH map and do some sanity checks.
A description of a targeted experiment containing precursor and production ions.
Definition: TargetedExperiment.h:62
Definition: TransitionExperiment.h:195
static void selectSwathTransitions(const OpenMS::TargetedExperiment &targeted_exp, OpenMS::TargetedExperiment &transition_exp_used, double min_upper_edge_dist, double lower, double upper)
Select transitions between lower and upper and write them into the new TargetedExperiment.
static bool checkSwathMapAndSelectTransitions(const OpenMS::PeakMap &exp, const TargetedExperimentT &targeted_exp, TargetedExperimentT &transition_exp_used, double min_upper_edge_dist)
Check the map and select transition in one function.
Definition: OpenSwathHelper.h:92