![]() |
OpenMS
|
Namespaces | |
| namespace | Scoring |
| Scoring functions used by MRMScoring. | |
Classes | |
| struct | CSVWriter |
| struct | DataMatrix |
| struct | IDataFrameWriter |
| class | IFeature |
| class | IMRMFeature |
| struct | ISignalToNoise |
| class | ISpectrumAccess |
| The interface of a mass spectrometry experiment. More... | |
| struct | ITransitionGroup |
| struct | LightCompound |
| struct | LightModification |
| struct | LightProtein |
| struct | LightTargetedExperiment |
| struct | LightTransition |
| class | mean_and_stddev |
| functor to compute the mean and stddev of sequence using the std::foreach algorithm More... | |
| class | MockFeature |
| Mock object implementing IFeature. More... | |
| class | MockMRMFeature |
| Mock object implementing IMRMFeature. More... | |
| class | MockSignalToNoise |
| Mock object implementing ISignalToNoise. More... | |
| class | MockTransitionGroup |
| Mock object implementing ITransitionGroup. More... | |
| class | MRMScoring |
| This class implements different scores for peaks found in SRM/MRM. More... | |
| struct | OSBinaryDataArray |
| The datastructures used by the OpenSwath interfaces. More... | |
| struct | OSChromatogram |
| A single chromatogram. More... | |
| struct | OSChromatogramMeta |
| Identifying information for a chromatogram. More... | |
| struct | OSSpectrum |
| The structure that captures the generation of a peak list (including the underlying acquisitions) More... | |
| struct | OSSpectrumMeta |
| Identifying information for a spectrum. More... | |
| struct | Peptide |
| struct | Protein |
| struct | SwathMap |
| Data structure to hold one SWATH map with information about upper / lower isolation window and whether the map is MS1 or MS2. More... | |
| class | SwathQC |
| Quality Control function for OpenSwath. More... | |
| struct | TargetedExperiment |
| struct | TransitionFlags |
| Packed boolean flags for transitions Reduces memory from 4 bytes (4 separate bools) to 1 byte. More... | |
| struct | TransitionHelper |
Typedefs | |
| typedef OSBinaryDataArray | BinaryDataArray |
| typedef std::shared_ptr< BinaryDataArray > | BinaryDataArrayPtr |
| typedef OSChromatogramMeta | ChromatogramMeta |
| typedef std::shared_ptr< ChromatogramMeta > | ChromatogramMetaPtr |
| typedef OSChromatogram | Chromatogram |
| typedef std::shared_ptr< Chromatogram > | ChromatogramPtr |
| typedef OSSpectrumMeta | SpectrumMeta |
| typedef std::shared_ptr< SpectrumMeta > | SpectrumMetaPtr |
| typedef OSSpectrum | Spectrum |
| typedef std::shared_ptr< Spectrum > | SpectrumPtr |
| using | SpectrumSequence = OpenMS::SpectrumSequence |
| typedef std::shared_ptr< ISpectrumAccess > | SpectrumAccessPtr |
| typedef std::shared_ptr< ISignalToNoise > | ISignalToNoisePtr |
Enumerations | |
| enum class | FragmentIonType : uint8_t { Unknown = 0 , AIon , BIon , CIon , XIon , YIon , ZIon , ZPrimeIon , ZDotIon , Precursor , BMinusH2O , YMinusH2O , BMinusNH3 , YMinusNH3 , Empty = 255 } |
| Compact enum for fragment ion types (replaces string storage) Reduces memory from ~32 bytes (std::string) to 1 byte. More... | |
Functions | |
| OPENSWATHALGO_DLLAPI void | normalize (const std::vector< double > &intensities, double normalization_factor, std::vector< double > &normalized_intensities) |
| Normalize intensities in vector by normalization_factor. | |
| template<typename T > | |
| double | norm (T beg, T end) |
| compute the Euclidean norm of the vector | |
| template<typename Texp , typename Ttheo > | |
| double | dotProd (Texp intExpBeg, Texp intExpEnd, Ttheo intTheo) |
| compute dotprod of vectors | |
| OPENSWATHALGO_DLLAPI double | dotprodScoring (std::vector< double > intExp, std::vector< double > theorint) |
| the dot product scoring | |
| template<typename Texp , typename Ttheo > | |
| double | manhattanDist (Texp itExpBeg, Texp itExpEnd, Ttheo itTheo) |
| compute manhattan distance between Exp and Theo | |
| OPENSWATHALGO_DLLAPI double | manhattanScoring (std::vector< double > intExp, std::vector< double > theorint) |
| manhattan scoring | |
| template<typename TInputIterator , typename TInputIteratorY > | |
| std::iterator_traits< TInputIterator >::value_type | cor_pearson (TInputIterator xBeg, TInputIterator xEnd, TInputIteratorY yBeg) |
| compute pearson correlation of vector x and y | |
| FragmentIonType | stringToFragmentIonType (const std::string &s) |
| Convert fragment ion type string to enum. | |
| std::string | fragmentIonTypeToString (FragmentIonType t) |
| Convert fragment ion type enum to string. | |
| struct OpenSwath::OSBinaryDataArray |
The datastructures used by the OpenSwath interfaces.
Many of them are closely related to Proteowizard data structures, originally written by Darren Kessner and released under the Apache 2.0 licence.
Original author: Darren Kessner darre.nosp@m.n@pr.nosp@m.oteow.nosp@m.izar.nosp@m.d.org
Copyright 2007 Spielberg Family Center for Applied Proteomics Cedars-Sinai Medical Center, Los Angeles, California 90048
The following datastructures are used :
| struct OpenSwath::Protein |
| struct OpenSwath::TargetedExperiment |
| typedef OSBinaryDataArray BinaryDataArray |
| typedef std::shared_ptr<BinaryDataArray> BinaryDataArrayPtr |
| typedef OSChromatogram Chromatogram |
| typedef OSChromatogramMeta ChromatogramMeta |
| typedef std::shared_ptr<ChromatogramMeta> ChromatogramMetaPtr |
| typedef std::shared_ptr<Chromatogram> ChromatogramPtr |
| typedef std::shared_ptr<ISignalToNoise> ISignalToNoisePtr |
| typedef OSSpectrum Spectrum |
| typedef std::shared_ptr<ISpectrumAccess> SpectrumAccessPtr |
| typedef OSSpectrumMeta SpectrumMeta |
| typedef std::shared_ptr<SpectrumMeta> SpectrumMetaPtr |
| typedef std::shared_ptr<Spectrum> SpectrumPtr |
|
strong |
Compact enum for fragment ion types (replaces string storage) Reduces memory from ~32 bytes (std::string) to 1 byte.
| std::iterator_traits< TInputIterator >::value_type cor_pearson | ( | TInputIterator | xBeg, |
| TInputIterator | xEnd, | ||
| TInputIteratorY | yBeg | ||
| ) |
compute pearson correlation of vector x and y
| double dotProd | ( | Texp | intExpBeg, |
| Texp | intExpEnd, | ||
| Ttheo | intTheo | ||
| ) |
compute dotprod of vectors
| OPENSWATHALGO_DLLAPI double dotprodScoring | ( | std::vector< double > | intExp, |
| std::vector< double > | theorint | ||
| ) |
the dot product scoring
sqrt data, normalize by vector norm compute dotprod
|
inline |
Convert fragment ion type enum to string.
| t | FragmentIonType enum value |
References AIon, BIon, BMinusH2O, BMinusNH3, CIon, Empty, Precursor, Unknown, XIon, YIon, YMinusH2O, YMinusNH3, ZDotIon, ZIon, and ZPrimeIon.
Referenced by LightTransition::getAnnotation(), and LightTransition::getFragmentType().
| double manhattanDist | ( | Texp | itExpBeg, |
| Texp | itExpEnd, | ||
| Ttheo | itTheo | ||
| ) |
compute manhattan distance between Exp and Theo
| OPENSWATHALGO_DLLAPI double manhattanScoring | ( | std::vector< double > | intExp, |
| std::vector< double > | theorint | ||
| ) |
manhattan scoring
sqrt intensities normalize vector by TIC compute manhattan score
| double norm | ( | T | beg, |
| T | end | ||
| ) |
compute the Euclidean norm of the vector
| OPENSWATHALGO_DLLAPI void normalize | ( | const std::vector< double > & | intensities, |
| double | normalization_factor, | ||
| std::vector< double > & | normalized_intensities | ||
| ) |
Normalize intensities in vector by normalization_factor.
|
inline |
Convert fragment ion type string to enum.
| s | Fragment type string (e.g. "y", "b", "prec") |
References AIon, BIon, BMinusH2O, BMinusNH3, CIon, Empty, Precursor, Unknown, XIon, YIon, YMinusH2O, YMinusNH3, ZDotIon, ZIon, and ZPrimeIon.
Referenced by LightTransition::setFragmentType().