|
OpenMS
2.5.0
|
Go to the documentation of this file.
39 #include <boost/math/tr1.hpp>
79 return "labeled_pair_finder";
92 void run(
const std::vector<ConsensusMap> & input_maps,
ConsensusMap & result_map)
override;
97 inline double PValue_(
double x,
double m,
double sig1,
double sig2)
101 return 1 - boost::math::tr1::erf((x - m) / sig2 / 0.707106781);
105 return 1 - boost::math::tr1::erf((m - x) / sig1 / 0.707106781);
Base class for TOPP applications.
Definition: TOPPBase.h:144
~LabeledPairFinder() override
Destructor.
Definition: LabeledPairFinder.h:66
A more convenient string class.
Definition: String.h:58
static const String getProductName()
Returns the name of this module.
Definition: LabeledPairFinder.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
IntensityType getIntensity() const
Definition: Peak2D.h:166
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static String number(double d, UInt n)
returns a string for d with exactly n decimal places
void load(const String &filename, FeatureMap &feature_map)
loads the file with name filename into map and calls updateRanges().
double PValue_(double x, double m, double sig1, double sig2)
return the p-value at position x for the bi-Gaussian distribution with mean m and standard deviation ...
Definition: LabeledPairFinder.h:97
Math namespace.
Definition: BilinearInterpolation.h:42
A container for consensus elements.
Definition: ConsensusMap.h:79
CoordinateType getRT() const
Returns the RT coordinate (index 0)
Definition: Peak2D.h:208
The LabeledPairFinder allows the matching of labeled features (features with a fixed distance).
Definition: LabeledPairFinder.h:56
void load(const String &filename, ConsensusMap &map)
Loads a consensus map from file and calls updateRanges.
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
A container for features.
Definition: FeatureMap.h:95
An LC-MS feature.
Definition: Feature.h:70
static BaseGroupFinder * create()
Returns an instance of this class.
Definition: LabeledPairFinder.h:71
This class provides Input/Output functionality for feature maps.
Definition: FeatureXMLFile.h:68
The base class of all element group finding algorithms.
Definition: BaseGroupFinder.h:61
CoordinateType getMZ() const
Returns the m/z coordinate (index 1)
Definition: Peak2D.h:196
This class provides Input functionality for ConsensusMaps and Output functionality for alignments and...
Definition: ConsensusXMLFile.h:61