84 const double *intensities,
119 double *snrs,
double *charge_scores,
121 double *precursor_intensities,
122 double *peakgroup_intensities);
176 double tqscore_threshold = .9;
185 const double min_isolation_window_half_ = .6;
187 const double max_isolation_window_half_ = 3.0;
189 bool inclusive_mode_ =
true;
202 double snr_threshold_ = 1.0;
A class representing a deconvolved spectrum. DeconvolvedSpectrum consists of PeakGroups representing ...
Definition: DeconvolvedSpectrum.h:56
FLASHDeconv algorithm: ultrafast mass deconvolution algorithm for top down mass spectrometry dataset ...
Definition: FLASHDeconvAlgorithm.h:61
log transformed peak. After deconvolution, all necessary information from deconvolution such as charg...
Definition: FLASHDeconvHelperStructs.h:192
Averagine patterns pre-calculated for speed up. Other variables are also calculated for fast cosine c...
Definition: FLASHDeconvHelperStructs.h:60
FLASHIda class for real time deconvolution This class contains functions to perform deconvolution (by...
Definition: FLASHIda.h:53
std::vector< double > excluded_masses_
Definition: FLASHIda.h:198
double rt_window_
retention time window - determined from C# side
Definition: FLASHIda.h:181
FLASHIda & operator=(const FLASHIda &fd)=default
assignment operator
double qscore_threshold_
q score threshold - determined from C# side
Definition: FLASHIda.h:179
DeconvolvedSpectrum deconvolved_spectrum_
deconvolved spectrum that contains the peak group
Definition: FLASHIda.h:165
std::vector< double > trigger_right_isolation_mzs_
Definition: FLASHIda.h:170
FLASHIda(char *arg)
constructor that takes string input argument
FLASHDeconvHelperStructs::LogMzPeak LogMzPeak
Definition: FLASHIda.h:56
FLASHDeconvAlgorithm fd_
FLASHDeconvAlgorithm class for deconvolution.
Definition: FLASHIda.h:173
DoubleList tol_
mass tolerance
Definition: FLASHIda.h:205
std::vector< double > target_masses_
Definition: FLASHIda.h:193
FLASHIda(const FLASHIda &)=default
copy constructor
std::unordered_map< int, double > tqscore_exceeding_mz_rt_map_
Maps that are necessary for mass exclusion.
Definition: FLASHIda.h:135
std::unordered_map< int, double > tqscore_exceeding_mass_rt_map_
integer mz value vs. retention time with tqscore exceeding total qscore threshold
Definition: FLASHIda.h:136
std::unordered_map< int, double > all_mass_rt_map_
integer mass value vs. retention time with tqscore exceeding total qscore threshold
Definition: FLASHIda.h:137
std::map< double, std::vector< double > > excluded_mz_rt_map_
Definition: FLASHIda.h:197
void getIsolationWindows(double *window_start, double *window_end, double *qscores, int *charges, int *min_charges, int *max_charges, double *mono_masses, double *charge_cos, double *charge_snrs, double *iso_cos, double *snrs, double *charge_scores, double *ppm_errors, double *precursor_intensities, double *peakgroup_intensities)
get isolation windows using FLASHDeconv algorithm. Many parameters are in primitive types so they can...
std::map< double, std::vector< double > > target_mass_rt_map_
maps for global inclusion targeting
Definition: FLASHIda.h:191
IntList mass_count_
how many masses will be selected per ms level? - determined from C# side
Definition: FLASHIda.h:183
static MSSpectrum makeMSSpectrum_(const double *mzs, const double *ints, const int length, const double rt, const int ms_level, const char *name)
generate MSSpectrum class using mzs and intensities. mzs and intensities and other information are pr...
std::vector< double > trigger_left_isolation_mzs_
peakGroup isolation window ranges
Definition: FLASHIda.h:169
void filterPeakGroupsUsingMassExclusion_(const int ms_level, const double rt)
mass value vs. retention time for all acquired precursors
int getPeakGroups(const double *mzs, const double *intensities, const int length, const double rt, const int ms_level, const char *name)
get peak groups (deconvolved masses) from input spectrum, specified by mzs and intensities (due to C#...
std::vector< int > trigger_charges
peakGroup charges to be triggered
Definition: FLASHIda.h:167
~FLASHIda()=default
destructor
std::unordered_map< int, double > mass_qscore_map_
mz value vs. retention time for all acquired precursors
Definition: FLASHIda.h:138
std::map< double, std::vector< double > > target_mz_rt_map_
Definition: FLASHIda.h:192
FLASHDeconvHelperStructs::PrecalculatedAveragine PrecalculatedAveragine
Definition: FLASHIda.h:55
FLASHIda(FLASHIda &&other)=default
move constructor
std::map< double, std::vector< double > > excluded_mass_rt_map_
current target masses
Definition: FLASHIda.h:196
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
float getQScore() const
get Q score
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:55
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:62
FLASHIda C++ to C# (or vice versa) bridge functions The functions here are called in C# to invoke fun...
Definition: FeatureDeconvolution.h:48