OpenMS
Loading...
Searching...
No Matches
ChromatogramIndex Struct Reference

Positions of chromatograms by native ID (see OpenSwathWorkflow::scoreAllChromatograms_()) More...

#include <OpenMS/ANALYSIS/OPENSWATH/OpenSwathWorkflow.h>

Public Member Functions

void build (const std::vector< MSChromatogram > &ms2_chromatograms, const std::vector< MSChromatogram > &ms1_chromatograms)
 Index the chromatograms by their native ID.
 

Public Attributes

std::unordered_map< std::string, int > ms2
 index into the MS2 chromatograms
 
std::unordered_map< std::string, int > ms1
 index into the MS1 (precursor) chromatograms
 

Detailed Description

Positions of chromatograms by native ID (see OpenSwathWorkflow::scoreAllChromatograms_())

Member Function Documentation

◆ build()

void build ( const std::vector< MSChromatogram > &  ms2_chromatograms,
const std::vector< MSChromatogram > &  ms1_chromatograms 
)

Index the chromatograms by their native ID.

Member Data Documentation

◆ ms1

std::unordered_map<std::string, int> ms1

index into the MS1 (precursor) chromatograms

◆ ms2

std::unordered_map<std::string, int> ms2

index into the MS2 chromatograms