|
OpenMS
2.6.0
|
Go to the documentation of this file.
93 double operator()(
const PeakSpectrum & spec)
const override;
103 bool preprocess(
PeakSpectrum & spec,
float remove_peak_intensity_threshold = 2.01,
UInt cut_peaks_below = 1000,
Size min_peak_number = 5,
Size max_peak_number = 150);
128 double delta_D(
double top_hit,
double runner_up);
138 double compute_F(
double dot_product,
double delta_D,
double dot_bias);
148 return "SpectraSTSimilarityScore";
Base class for TOPP applications.
Definition: TOPPBase.h:144
static PeakSpectrumCompareFunctor * create()
Definition: SpectraSTSimilarityScore.h:143
This is a binned representation of a PeakSpectrum.
Definition: BinnedSpectrum.h:75
static String basename(const String &file)
Returns the basename of the file (without the path).
static const String getProductName()
Reimplemented from PeakSpectrumCompareFunctor.
Definition: SpectraSTSimilarityScore.h:146
A more convenient string class.
Definition: String.h:59
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:52
static bool exists(const String &file)
Method used to test if a file exists.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
#define OPENMS_LOG_DEBUG
Macro for general debugging information.
Definition: LogStream.h:470
Similarity score of SpectraST.
Definition: SpectraSTSimilarityScore.h:62
QString toQString() const
Conversion to Qt QString.
bool hasSuffix(const String &string) const
true if String ends with string, false otherwise
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
void append(const T &i, String &target)
Definition: StringUtils.h:119
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
#define OPENMS_LOG_ERROR
Macro to be used if non-fatal error are reported (processing continues)
Definition: LogStream.h:455
static String stripExtension(const String &filename)
If filename contains an extension, it will be removed (including the '.'). Special extensions,...
static String getTempDirectory()
The current OpenMS temporary data path (for temporary files)
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67