101 void setPrecursorPeakGroupQvalue(
const double qvalue_with_iso_decoy_only ,
const double qvalue_with_noise_decoy_only,
const double qvalue_with_charge_decoy_only);
142 void static updatePeakGroupQvalues(std::vector<DeconvolvedSpectrum>& deconvolved_spectra, std::vector<DeconvolvedSpectrum>& deconvolved_decoy_spectra);
145 std::vector<PeakGroup>::const_iterator
begin() const noexcept;
146 std::vector<
PeakGroup>::const_iterator end() const noexcept;
174 int scan_number_ = 0, precursor_scan_number_ = 0;
A class representing a deconvolved spectrum. DeconvolvedSpectrum consists of PeakGroups representing ...
Definition: DeconvolvedSpectrum.h:56
void setActivationMethod(const String &method)
set activation method
void setPrecursor(const Precursor &precursor)
set max isotope index
double getCurrentMinMass(const double min_mass) const
const MSSpectrum & getOriginalSpectrum() const
original spectrum getter
std::vector< PeakGroup >::const_iterator begin() const noexcept
FLASHDeconvHelperStructs::LogMzPeak LogMzPeak
Definition: DeconvolvedSpectrum.h:58
int getPrecursorCharge() const
precursor charge getter (set in registerPrecursor)
~DeconvolvedSpectrum()=default
default destructor
MSSpectrum toSpectrum(const int to_charge, bool retain_undeconvolved=false)
const PeakGroup & getPrecursorPeakGroup() const
get precursor peak group for MSn (n>1) spectrum. It returns an empty peak group if no peak group is r...
double getCurrentMaxMass(const double max_mass) const
void setPrecursorPeakGroup(const PeakGroup &pg)
set precusor peakGroup
int getCurrentMaxAbsCharge(const int max_abs_charge) const
const String & getActivationMethod() const
get activation method
DeconvolvedSpectrum(const DeconvolvedSpectrum &)=default
copy constructor
int getScanNumber() const
get scan number of the original spectrum
DeconvolvedSpectrum()=default
default constructor
const Precursor & getPrecursor() const
get precursor peak
DeconvolvedSpectrum(DeconvolvedSpectrum &&other)=default
move constructor
DeconvolvedSpectrum(const MSSpectrum &spectrum, const int scan_number)
Constructor for DeconvolvedSpectrum. Takes the spectrum and scan number calculated from outside.
DeconvolvedSpectrum & operator=(const DeconvolvedSpectrum &deconvolved_spectrum)=default
assignment operator
void setPrecursorScanNumber(const int scan_number)
set max isotope index
void setPrecursorPeakGroupQvalue(const double qvalue_with_iso_decoy_only, const double qvalue_with_noise_decoy_only, const double qvalue_with_charge_decoy_only)
set qvalue of precursor peak
int getPrecursorScanNumber() const
get precursor scan number - only if it is registered. Otherwise return 0
void setPrecursorIntensity(const double i)
set precursor peak intensity
static void updatePeakGroupQvalues(std::vector< DeconvolvedSpectrum > &deconvolved_spectra, std::vector< DeconvolvedSpectrum > &deconvolved_decoy_spectra)
log transformed peak. After deconvolution, all necessary information from deconvolution such as charg...
Definition: FLASHDeconvHelperStructs.h:192
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
Class describing a deconvolved mass. A mass contains multiple peaks of different charges and isotope ...
Definition: PeakGroup.h:51
Precursor meta information.
Definition: Precursor.h:61
A more convenient string class.
Definition: String.h:60
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
FLASHIda C++ to C# (or vice versa) bridge functions The functions here are called in C# to invoke fun...
Definition: FeatureDeconvolution.h:48