46 void getRT(std::vector<double>& rt)
const override;
72 const std::vector<std::string>& feature_ids,
73 const std::vector<std::string>& precursor_feature_ids);
85 const std::vector<std::string>& feature_ids,
86 const std::vector<std::string>& precursor_feature_ids,
87 const std::vector<std::string>& feature_lookup_ids,
88 const std::vector<std::string>& precursor_feature_lookup_ids);
92 std::shared_ptr<OpenSwath::IFeature>
getFeature(std::string nativeID)
override;
108 void getFeatureIntensities(
const std::vector<std::string>& native_ids, std::vector<std::vector<double>>& intensities)
const;
162 template <
typename SpectrumT,
typename TransitionT>
177 std::size_t
size()
const override
184 std::vector<std::string> result;
185 for (std::size_t i = 0; i < this->
size(); i++)
205 template <
typename ContainerT>
212 double sn_win_len_,
unsigned int sn_bin_count_,
bool write_log_messages) :
219 settings.
win_len = sn_win_len_;
220 settings.
bin_count =
static_cast<int>(sn_bin_count_);
245 if (std::fabs(prev->getPos() -
RT) < std::fabs(iter->getPos() -
RT) )
An implementation of the OpenSWATH Feature Access interface using OpenMS.
Definition MRMFeatureAccessOpenMS.h:39
void getRT(std::vector< double > &rt) const override
~FeatureOpenMS() override
double getRT() const override
float getIntensity() const override
FeatureOpenMS(const Feature &feature)
void getIntensity(std::vector< double > &intens) const override
const Feature * feature_
Definition MRMFeatureAccessOpenMS.h:55
An LC-MS feature.
Definition Feature.h:46
An implementation of the OpenSWATH MRM Feature Access interface using OpenMS.
Definition MRMFeatureAccessOpenMS.h:64
std::unique_ptr< FeatureLane_ > precursor_feature_lane_
Precursor-feature access lane for precursor chromatogram features.
Definition MRMFeatureAccessOpenMS.h:155
void getFeatureIntensities(const std::vector< std::string > &native_ids, std::vector< std::vector< double > > &intensities) const
std::vector< std::string > getNativeIDs() const override
MRMFeatureOpenMS(MRMFeature &mrmfeature)
Build access lanes from the native-id maps stored in mrmfeature.
float getFeatureIntensity(const std::string &native_id, Size expected_index) const
Return the fragment-feature intensity for native_id.
double getRT() const override
~MRMFeatureOpenMS() override
float getIntensity() const override
std::shared_ptr< OpenSwath::IFeature > getFeature(std::string nativeID) override
void getPrecursorFeatureIntensities(const std::vector< std::string > &native_ids, std::vector< std::vector< double > > &intensities) const
std::vector< std::string > getPrecursorIDs() const override
MRMFeatureOpenMS(MRMFeature &mrmfeature, const std::vector< std::string > &feature_ids, const std::vector< std::string > &precursor_feature_ids, const std::vector< std::string > &feature_lookup_ids, const std::vector< std::string > &precursor_feature_lookup_ids)
Build access lanes with externally aligned native-id order.
const MRMFeature & mrmfeature_
Definition MRMFeatureAccessOpenMS.h:151
size_t size() const override
std::unique_ptr< FeatureLane_ > feature_lane_
Fragment-feature access lane. May use aligned ids when the caller provides storage-aligned feature id...
Definition MRMFeatureAccessOpenMS.h:153
double getMetaValue(std::string name) const
std::shared_ptr< OpenSwath::IFeature > getPrecursorFeature(std::string nativeID) override
MRMFeatureOpenMS(MRMFeature &mrmfeature, const std::vector< std::string > &feature_ids, const std::vector< std::string > &precursor_feature_ids)
Build pointer-based access lanes from explicit fragment and precursor native-id lists.
A multi-chromatogram MRM feature.
Definition MRMFeature.h:26
The representation of a group of transitions in a targeted proteomics experiment.
Definition MRMTransitionGroup.h:41
Size size() const
Definition MRMTransitionGroup.h:98
std::vector< ChromatogramType > & getChromatograms()
Definition MRMTransitionGroup.h:159
void getLibraryIntensity(std::vector< double > &result) const
Definition MRMTransitionGroup.h:330
An implementation of the OpenSWATH SignalToNoise Access interface using OpenMS.
Definition MRMFeatureAccessOpenMS.h:208
SignalToNoiseOpenMS(const ContainerT &chromat, double sn_win_len_, unsigned int sn_bin_count_, bool write_log_messages)
Definition MRMFeatureAccessOpenMS.h:211
std::vector< double > sn_
the S/N of every data point of the chromatogram
Definition MRMFeatureAccessOpenMS.h:261
const ContainerT & chromatogram_
Definition MRMFeatureAccessOpenMS.h:259
double getValueAtRT(double RT) override
Definition MRMFeatureAccessOpenMS.h:225
An implementation of the OpenSWATH Transition Group Access interface using OpenMS.
Definition MRMFeatureAccessOpenMS.h:165
~TransitionGroupOpenMS() override
Definition MRMFeatureAccessOpenMS.h:173
std::vector< std::string > getNativeIDs() const override
Definition MRMFeatureAccessOpenMS.h:182
const MRMTransitionGroup< SpectrumT, TransitionT > & trgroup_
Definition MRMFeatureAccessOpenMS.h:198
TransitionGroupOpenMS(MRMTransitionGroup< SpectrumT, TransitionT > &trgroup)
Definition MRMFeatureAccessOpenMS.h:168
void getLibraryIntensities(std::vector< double > &intensities) const override
Definition MRMFeatureAccessOpenMS.h:192
std::size_t size() const override
Definition MRMFeatureAccessOpenMS.h:177
Definition ITransition.h:21
Definition ITransition.h:31
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition ITransition.h:53
Definition ITransition.h:45