20 class PeptideIdentification;
91 const std::string&
getName()
const override;
94 const std::vector<Statistics>&
getResults()
const;
A container for features.
Definition FeatureMap.h:78
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition FlagSet.h:28
Definition FragmentMassError.h:24
const std::string & getName() const override
returns the name of the metric
Definition FragmentMassError.cpp:319
double variance_ppm
Definition FragmentMassError.h:37
static void calculateFME_(PeptideIdentification &pep_id, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, bool &print_warning, double tolerance, FragmentMassError::ToleranceUnit tolerance_unit, double &accumulator_ppm, UInt32 &counter_ppm, WindowMower &window_mower_filter)
Definition FragmentMassError.cpp:47
const std::vector< Statistics > & getResults() const
returns results
Definition FragmentMassError.cpp:325
double average_ppm
Definition FragmentMassError.h:36
void compute(FeatureMap &fmap, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, ToleranceUnit tolerance_unit=ToleranceUnit::AUTO, double tolerance=20)
computes FragmentMassError (FME) in ppm and Dalton (only of the first PeptideHit of each PepID)
Definition FragmentMassError.cpp:170
QCBase::Status requirements() const override
Returns the input data requirements of the compute(...) function.
Definition FragmentMassError.cpp:331
std::vector< Statistics > results_
container that stores results
Definition FragmentMassError.h:105
FragmentMassError()=default
Default constructor.
virtual ~FragmentMassError()=default
Destructor.
static void calculateVariance_(FragmentMassError::Statistics &result, const PeptideIdentification &pep_id, const UInt num_ppm)
Definition FragmentMassError.cpp:155
Structure for storing results: average and variance of all FragmentMassErrors in ppm.
Definition FragmentMassError.h:35
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Represents the set of candidates (SpectrumMatches) identified for a single precursor spectrum.
Definition PeptideIdentification.h:66
Map to find a spectrum via its NativeID.
Definition QCBase.h:63
This class serves as an abstract base class for all QC classes.
Definition QCBase.h:29
ToleranceUnit
Definition QCBase.h:49
Retains the highest peaks in a sliding or jumping window.
Definition WindowMower.h:30
uint32_t UInt32
Unsigned integer type (32bit)
Definition Types.h:33
unsigned int UInt
Unsigned integer type.
Definition Types.h:64
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Search parameters of the DB search.
Definition ProteinIdentification.h:194