35 #ifndef OPENMS_TRANSFORMATIONS_FEATUREFINDER_MULTIPLEXFILTERING_H 36 #define OPENMS_TRANSFORMATIONS_FEATUREFINDER_MULTIPLEXFILTERING_H 120 MultiplexFiltering(
const PeakMap& exp_picked,
const std::vector<MultiplexIsotopicPeakPattern> patterns,
int peaks_per_peptide_min,
int peaks_per_peptide_max,
bool missing_peaks,
double intensity_cutoff,
double mz_tolerance,
bool mz_tolerance_unit,
double peptide_similarity,
double averagine_similarity,
double averagine_similarity_scaling,
String averagine_type=
"peptide");
139 const std::vector<double>& peak_position,
int peak, std::vector<double>& mz_shifts_actual,
140 std::vector<int>& mz_shifts_actual_indices)
const;
154 bool monoIsotopicPeakIntensityFilter_(
const MultiplexIsotopicPeakPattern& pattern,
int spectrum_index,
const std::vector<int>& mz_shifts_actual_indices)
const;
185 bool peptideSimilarityFilter_(
const MultiplexIsotopicPeakPattern& pattern,
const std::vector<double>& intensities_actual,
int peaks_found_in_all_peptides_spline)
const;
200 bool averagineSimilarityFilter_(
const MultiplexIsotopicPeakPattern& pattern,
const std::vector<double>& intensities_actual,
int peaks_found_in_all_peptides_spline,
double mz)
const;
211 void blacklistPeaks_(
const MultiplexIsotopicPeakPattern& pattern,
int spectrum,
const std::vector<int>& mz_shifts_actual_indices,
int peaks_found_in_all_peptides_spline);
224 int getPeakIndex_(
const std::vector<double>& peak_position,
int start,
double mz,
double scaling)
const;
235 double getPatternSimilarity_(
const std::vector<double>& pattern1,
const std::vector<double>& pattern2)
const;
246 double getAveragineSimilarity_(
const std::vector<double>& pattern,
double m)
const;
std::vector< MultiplexIsotopicPeakPattern > patterns_
list of peak patterns
Definition: MultiplexFiltering.h:262
bool mz_tolerance_unit_
unit for m/z shift tolerance (ppm - true, Da - false)
Definition: MultiplexFiltering.h:292
String averagine_type_
type of averagine to use
Definition: MultiplexFiltering.h:312
A more convenient string class.
Definition: String.h:57
bool black
Definition: MultiplexFiltering.h:99
std::vector< std::vector< BlackListEntry > > blacklist_
Definition: MultiplexFiltering.h:257
std::vector< std::vector< PeakReference > > registry_
auxiliary structs for navigation and blacklisting
Definition: MultiplexFiltering.h:256
int peaks_per_peptide_max_
maximum number of isotopic peaks per peptide
Definition: MultiplexFiltering.h:272
bool missing_peaks_
flag for missing peaks
Definition: MultiplexFiltering.h:277
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
double intensity_cutoff_
intensity cutoff
Definition: MultiplexFiltering.h:282
double peptide_similarity_
peptide similarity
Definition: MultiplexFiltering.h:297
PeakMap exp_picked_
centroided experimental data
Definition: MultiplexFiltering.h:251
double averagine_similarity_
averagine similarity
Definition: MultiplexFiltering.h:302
int black_exception_charge
Definition: MultiplexFiltering.h:101
structure for peak blacklisting
Definition: MultiplexFiltering.h:97
data structure for pattern of isotopic peaks
Definition: MultiplexIsotopicPeakPattern.h:55
int black_exception_mz_position
Definition: MultiplexFiltering.h:102
int peaks_per_peptide_min_
minimum number of isotopic peaks per peptide
Definition: MultiplexFiltering.h:267
double mz_tolerance_
m/z shift tolerance
Definition: MultiplexFiltering.h:287
int black_exception_mass_shift_index
Definition: MultiplexFiltering.h:100
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:82
int index_in_next_spectrum
Definition: MultiplexFiltering.h:88
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
structure for peak position in neighbouring spectra
Definition: MultiplexFiltering.h:85
double averagine_similarity_scaling_
averagine similarity scaling
Definition: MultiplexFiltering.h:307
int index_in_previous_spectrum
Definition: MultiplexFiltering.h:87
base class for filtering centroided and profile data for peak patterns
Definition: MultiplexFiltering.h:72