OpenMS  2.6.0
Classes | Static Public Member Functions | List of all members
MetaboTargetedTargetDecoy Class Reference

Resolve overlapping fragments and missing decoys for experimental specific decoy generation in targeted/pseudo targeted metabolomics. More...

#include <OpenMS/ANALYSIS/TARGETED/MetaboTargetedTargetDecoy.h>

Classes

struct  MetaboTargetDecoyMassMapping
 MetaboTargetDecoyMassMapping introduces a mapping of target and decoy masses and their respective compound reference using an identifier. More...
 

Static Public Member Functions

static std::vector< MetaboTargetDecoyMassMappingconstructTargetDecoyMassMapping (const TargetedExperiment &t_exp)
 Constructs a mass mapping of targets and decoys using a the unique mids identifier. More...
 
static void resolveOverlappingTargetDecoyMassesByIndividualMassShift (TargetedExperiment &t_exp, std::vector< MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping > &mappings, const double &mass_to_add)
 Resolves overlapping target and decoy transitions masses by adding a specifiable mass to the overlapping decoy fragment. More...
 
static void generateMissingDecoysByMassShift (TargetedExperiment &t_exp, std::vector< MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping > &mappings, const double &mass_to_add)
 Generate a decoy for targets where fragmentation tree re-rooting was not possible, by adding a specifiable mass to the target fragments. More...
 

Detailed Description

Resolve overlapping fragments and missing decoys for experimental specific decoy generation in targeted/pseudo targeted metabolomics.


Class Documentation

◆ OpenMS::MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping

struct OpenMS::MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping

MetaboTargetDecoyMassMapping introduces a mapping of target and decoy masses and their respective compound reference using an identifier.

Collaboration diagram for MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping:
[legend]
Class Members
String decoy_compound_ref
vector< double > decoy_product_masses
String identifier
String target_compound_ref
vector< double > target_product_masses

Member Function Documentation

◆ constructTargetDecoyMassMapping()

static std::vector<MetaboTargetDecoyMassMapping> constructTargetDecoyMassMapping ( const TargetedExperiment t_exp)
static

Constructs a mass mapping of targets and decoys using a the unique mids identifier.

Parameters
t_expTransitionExperiment holds compound and transition information used for the mapping.

◆ generateMissingDecoysByMassShift()

static void generateMissingDecoysByMassShift ( TargetedExperiment t_exp,
std::vector< MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping > &  mappings,
const double mass_to_add 
)
static

Generate a decoy for targets where fragmentation tree re-rooting was not possible, by adding a specifiable mass to the target fragments.

Parameters
t_expTransitionExperiment holds compound and transition information
mappingsmap of identifier to target and decoy masses
mass_to_addthe maximum number of transitions required per assay

◆ resolveOverlappingTargetDecoyMassesByIndividualMassShift()

static void resolveOverlappingTargetDecoyMassesByIndividualMassShift ( TargetedExperiment t_exp,
std::vector< MetaboTargetedTargetDecoy::MetaboTargetDecoyMassMapping > &  mappings,
const double mass_to_add 
)
static

Resolves overlapping target and decoy transitions masses by adding a specifiable mass to the overlapping decoy fragment.

Parameters
t_expTransitionExperiment holds compound and transition information
mappingsmap of identifier to target and decoy masses
mass_to_add