OpenMS
2.4.0
|
#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/FeatureFinderIdentificationAlgorithm.h>
Classes | |
struct | FeatureCompare |
comparison functor for features More... | |
struct | FeatureFilterPeptides |
predicate for filtering features by assigned peptides: More... | |
struct | FeatureFilterQuality |
predicate for filtering features by overall quality: More... | |
struct | PeptideCompare |
comparison functor for (unassigned) peptide IDs More... | |
struct | RTRegion |
region in RT in which a peptide elutes: More... | |
Public Member Functions | |
FeatureFinderIdentificationAlgorithm () | |
default constructor More... | |
void | run (std::vector< PeptideIdentification > peptides, std::vector< ProteinIdentification > proteins, std::vector< PeptideIdentification > peptides_ext, std::vector< ProteinIdentification > proteins_ext, FeatureMap &features) |
void | runOnCandidates (FeatureMap &features) |
PeakMap & | getMSData () |
const PeakMap & | getMSData () const |
PeakMap & | getChromatograms () |
const PeakMap & | getChromatograms () const |
ProgressLogger & | getProgressLogger () |
const ProgressLogger & | getProgressLogger () const |
TargetedExperiment & | getLibrary () |
const TargetedExperiment & | getLibrary () const |
Public Member Functions inherited from DefaultParamHandler | |
DefaultParamHandler (const String &name) | |
Constructor with name that is displayed in error messages. More... | |
DefaultParamHandler (const DefaultParamHandler &rhs) | |
Copy constructor. More... | |
virtual | ~DefaultParamHandler () |
Destructor. More... | |
virtual DefaultParamHandler & | operator= (const DefaultParamHandler &rhs) |
Assignment operator. More... | |
virtual bool | operator== (const DefaultParamHandler &rhs) const |
Equality operator. More... | |
void | setParameters (const Param ¶m) |
Sets the parameters. More... | |
const Param & | getParameters () const |
Non-mutable access to the parameters. More... | |
const Param & | getDefaults () const |
Non-mutable access to the default parameters. More... | |
const String & | getName () const |
Non-mutable access to the name. More... | |
void | setName (const String &name) |
Mutable access to the name. More... | |
const std::vector< String > & | getSubsections () const |
Non-mutable access to the registered subsections. More... | |
Protected Types | |
typedef FeatureFinderAlgorithmPickedHelperStructs::MassTrace | MassTrace |
typedef FeatureFinderAlgorithmPickedHelperStructs::MassTraces | MassTraces |
typedef std::multimap< double, PeptideIdentification * > | RTMap |
mapping: RT (not necessarily unique) -> pointer to peptide More... | |
typedef std::map< Int, std::pair< RTMap, RTMap > > | ChargeMap |
mapping: charge -> internal/external: (RT -> pointer to peptide) More... | |
typedef std::map< AASequence, ChargeMap > | PeptideMap |
mapping: sequence -> charge -> internal/external ID information More... | |
typedef std::map< String, std::pair< RTMap, RTMap > > | PeptideRefRTMap |
mapping: peptide ref. -> int./ext.: (RT -> pointer to peptide) More... | |
Protected Member Functions | |
void | updateMembers_ () override |
This method is used to update extra member variables at the end of the setParameters() method. More... | |
void | generateTransitions_ (const String &peptide_id, double mz, Int charge, const IsotopeDistribution &iso_dist) |
generate transitions (isotopic traces) for a peptide ion and add them to the library: More... | |
void | addPeptideRT_ (TargetedExperiment::Peptide &peptide, double rt) const |
void | getRTRegions_ (ChargeMap &peptide_data, std::vector< RTRegion > &rt_regions) const |
get regions in which peptide elutes (ideally only one) by clustering RT elution times More... | |
void | annotateFeaturesFinalizeAssay_ (FeatureMap &features, std::map< Size, std::vector< PeptideIdentification *> > &feat_ids, RTMap &rt_internal) |
void | annotateFeatures_ (FeatureMap &features, PeptideRefRTMap &ref_rt_map) |
annotate identified features with m/z, isotope probabilities, etc. More... | |
void | ensureConvexHulls_ (Feature &feature) |
void | postProcess_ (FeatureMap &features, bool with_external_ids) |
void | statistics_ (const FeatureMap &features) const |
some statistics on detected features More... | |
void | createAssayLibrary_ (PeptideMap &peptide_map, PeptideRefRTMap &ref_rt_map) |
void | addPeptideToMap_ (PeptideIdentification &peptide, PeptideMap &peptide_map, bool external=false) const |
void | checkNumObservations_ (Size n_pos, Size n_neg, const String ¬e="") const |
void | getUnbiasedSample_ (const std::multimap< double, std::pair< Size, bool > > &valid_obs, std::map< Size, Int > &training_labels) |
void | getRandomSample_ (std::map< Size, Int > &training_labels) |
void | classifyFeatures_ (FeatureMap &features) |
void | filterFeaturesFinalizeAssay_ (Feature &best_feature, double best_quality, const double quality_cutoff) |
void | filterFeatures_ (FeatureMap &features, bool classified) |
void | calculateFDR_ (FeatureMap &features) |
Protected Member Functions inherited from DefaultParamHandler | |
void | defaultsToParam_ () |
Updates the parameters after the defaults have been set in the constructor. More... | |
mapping: charge -> internal/external: (RT -> pointer to peptide)
|
protected |
|
protected |
|
protected |
mapping: sequence -> charge -> internal/external ID information
|
protected |
mapping: peptide ref. -> int./ext.: (RT -> pointer to peptide)
|
protected |
mapping: RT (not necessarily unique) -> pointer to peptide
default constructor
|
protected |
|
protected |
|
protected |
annotate identified features with m/z, isotope probabilities, etc.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
generate transitions (isotopic traces) for a peptide ion and add them to the library:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
get regions in which peptide elutes (ideally only one) by clustering RT elution times
|
protected |
|
protected |
void run | ( | std::vector< PeptideIdentification > | peptides, |
std::vector< ProteinIdentification > | proteins, | ||
std::vector< PeptideIdentification > | peptides_ext, | ||
std::vector< ProteinIdentification > | proteins_ext, | ||
FeatureMap & | features | ||
) |
Main method for actual FeatureFinder External IDs (peptides_ext
, proteins_ext
) may be empty, in which case no machine learning or FDR estimation will be performed.
void runOnCandidates | ( | FeatureMap & | features | ) |
|
protected |
some statistics on detected features
|
overrideprotectedvirtual |
This method is used to update extra member variables at the end of the setParameters() method.
Also call it at the end of the derived classes' copy constructor and assignment operator.
The default implementation is empty.
Reimplemented from DefaultParamHandler.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
SVM probabilities for "external" features (for FDR calculation):
SVM probability -> number of pos./neg. features (for FDR calculation):
|
protected |
|
protected |
|
protected |
TransformationDescription trafo_; // RT transformation (to range 0-1)