OpenMS  2.5.0
Classes | Static Public Member Functions | List of all members
FeatureMapping Class Reference

#include <OpenMS/ANALYSIS/MAPMATCHING/FeatureMapping.h>

Classes

struct  FeatureToMs2Indices
 

Static Public Member Functions

static FeatureToMs2Indices assignMS2IndexToFeature (const MSExperiment &spectra, const KDTreeFeatureMaps &fp_map_kd, const double &precursor_mz_tolerance, const double &precursor_rt_tolerance, bool ppm)
 Allocate ms2 spectra to feature within the minimal distance. More...
 

Class Documentation

◆ OpenMS::FeatureMapping::FeatureToMs2Indices

struct OpenMS::FeatureMapping::FeatureToMs2Indices
Class Members
Map< const BaseFeature *, vector< size_t > > assignedMS2
vector< size_t > unassignedMS2

Member Function Documentation

◆ assignMS2IndexToFeature()

static FeatureToMs2Indices assignMS2IndexToFeature ( const MSExperiment spectra,
const KDTreeFeatureMaps fp_map_kd,
const double precursor_mz_tolerance,
const double precursor_rt_tolerance,
bool  ppm 
)
static

Allocate ms2 spectra to feature within the minimal distance.

Returns
FeatureToMs2Indices
Parameters
spectraInput of PeakMap/MSExperiment with spectra information
fp_map_kdKDTree used for query and match spectra with features
precursor_mz_tolerancemz_tolerance used for query
precursor_rt_tolernacert tolerance used for query
ppmmz tolerance window calculation in ppm or Da