OpenMS
2.4.0
|
#include <OpenMS/ANALYSIS/OPENSWATH/ConfidenceScoring.h>
Public Member Functions | |
ConfidenceScoring (bool test_mode_=false) | |
Constructor. More... | |
virtual | ~ConfidenceScoring () |
void | initialize (const TargetedExperiment &library, const Size n_decoys, const Size n_transitions, const TransformationDescription &rt_trafo) |
void | initializeGlm (double intercept, double rt_coef, double int_coef) |
void | scoreMap (FeatureMap &features) |
Score a feature map -> make sure the class is properly initialized. More... | |
Public Member Functions inherited from ProgressLogger | |
ProgressLogger () | |
Constructor. More... | |
~ProgressLogger () | |
Destructor. More... | |
ProgressLogger (const ProgressLogger &other) | |
Copy constructor. More... | |
ProgressLogger & | operator= (const ProgressLogger &other) |
Assignment Operator. More... | |
void | setLogType (LogType type) const |
Sets the progress log that should be used. The default type is NONE! More... | |
LogType | getLogType () const |
Returns the type of progress log being used. More... | |
void | startProgress (SignedSize begin, SignedSize end, const String &label) const |
Initializes the progress display. More... | |
void | setProgress (SignedSize value) const |
Sets the current progress. More... | |
void | endProgress () const |
Ends the progress display. More... | |
void | nextProgress () const |
increment progress by 1 (according to range begin-end) More... | |
Protected Types | |
typedef boost::bimap< double, boost::bimaps::multiset_of< double > > | BimapType |
Mapping: Q3 m/z <-> transition intensity (maybe not unique!) More... | |
Protected Member Functions | |
void | chooseDecoys_ () |
Randomize the list of decoy indexes. More... | |
double | manhattanDist_ (DoubleList x, DoubleList y) |
Manhattan distance. More... | |
double | getAssayRT_ (const TargetedExperiment::Peptide &assay) |
Get the retention time of an assay. More... | |
void | extractIntensities_ (BimapType &intensity_map, Size n_transitions, DoubleList &intensities) |
double | scoreAssay_ (const TargetedExperiment::Peptide &assay, double feature_rt, DoubleList &feature_intensities, const std::set< String > &transition_ids=std::set< String >()) |
void | scoreFeature_ (Feature &feature) |
Score a feature. More... | |
Protected Attributes | |
struct { | |
double intercept | |
double rt_coef | |
double int_coef | |
} | glm_ |
Binomial GLM. More... | |
struct { | |
double min_rt | |
double max_rt | |
} | rt_norm_ |
Helper for RT normalization (range 0-100) More... | |
TargetedExperiment | library_ |
IntList | decoy_index_ |
Size | n_decoys_ |
Map< String, IntList > | transition_map_ |
Size | n_transitions_ |
TransformationDescription | rt_trafo_ |
RT transformation to map measured RTs to assay RTs. More... | |
boost::mt19937 | generator_ |
boost::variate_generator< boost::mt19937 &, boost::uniform_int<> > | rand_gen_ |
Random number generator (must be initialized in init. list of c'tor!) More... | |
Protected Attributes inherited from ProgressLogger | |
LogType | type_ |
time_t | last_invoke_ |
ProgressLoggerImpl * | current_logger_ |
Additional Inherited Members | |
Public Types inherited from ProgressLogger | |
enum | LogType { CMD, GUI, NONE } |
Possible log types. More... | |
Static Protected Member Functions inherited from ProgressLogger | |
static String | logTypeToFactoryName_ (LogType type) |
Return the name of the factory product used for this log type. More... | |
Static Protected Attributes inherited from ProgressLogger | |
static int | recursion_depth_ |
Mapping: Q3 m/z <-> transition intensity (maybe not unique!)
|
inlineexplicit |
Constructor.
|
inlinevirtual |
|
protected |
Randomize the list of decoy indexes.
|
protected |
Extract the n_transitions
highest intensities from intensity_map
, store them in intensities
|
protected |
Get the retention time of an assay.
|
inline |
|
protected |
Manhattan distance.
|
protected |
Score the assay assay
against feature data (feature_rt
, feature_intensities
), optionally using only the specified transitions (transition_ids
)
|
protected |
Score a feature.
|
inline |
Score a feature map -> make sure the class is properly initialized.
both functions initializeGlm and initialize need to be called first.
The input to the program is
References TargetedExperiment::getPeptides(), TargetedExperiment::getTransitions(), UniqueIdInterface::getUniqueId(), LOG_DEBUG, and LOG_WARN.
|
protected |
|
protected |
struct { ... } glm_ |
Binomial GLM.
double int_coef |
double intercept |
|
protected |
double max_rt |
double min_rt |
|
protected |
|
protected |
|
protected |
Random number generator (must be initialized in init. list of c'tor!)
double rt_coef |
struct { ... } rt_norm_ |
Helper for RT normalization (range 0-100)
|
protected |
RT transformation to map measured RTs to assay RTs.