 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
96 bool run(
const MSExperiment& experiment,
const float n_seconds,
OpenMS::MzTab& output,
const bool load_cached_spectrum =
true);
105 void cutForTime(
const MSExperiment& experiment,
const float n_seconds, std::vector<MSSpectrum>& output);
117 MSSpectrum mergeAlongTime(
const std::vector<OpenMS::MSSpectrum>& input);
160 const std::vector<float>& getMZs();
165 const std::vector<float>& getBinSizes();
168 void updateMembers_()
override;
Base class for TOPP applications.
Definition: TOPPBase.h:147
void addLine(const StringType &line)
Definition: TextFile.h:112
String & fillLeft(char c, UInt size)
Adds c on the left side until the size of the string is size.
const std::string & toString(const DriftTimeUnit value)
SavitzkyGolayFilter sgfilter_
Definition: FIAMSDataProcessor.h:178
std::vector< float > mzs_
Definition: FIAMSDataProcessor.h:176
PeakPickerHiRes picker_
Definition: FIAMSDataProcessor.h:179
void sortByIntensity(bool reverse=false)
Sorts the peaks according to ascending intensity.
A more convenient string class.
Definition: String.h:58
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:70
This class provides some basic file handling methods for text files.
Definition: TextFile.h:46
bool encloses(const PositionType &position) const
Checks whether this range contains a certain point.
Definition: DBoundingBox.h:159
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:477
IntensityType getIntensity() const
Definition: Peak2D.h:166
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
static String number(double d, UInt n)
returns a string for d with exactly n decimal places
This class implements a fast peak-picking algorithm best suited for high resolution MS data (FT-ICR-M...
Definition: PeakPickerHiRes.h:81
void load(const String &filename, FeatureMap &feature_map)
loads the file with name filename into map and calls updateRanges().
const ChargeType & getCharge() const
Non-mutable access to charge state.
Math namespace.
Definition: BilinearInterpolation.h:42
void store(const String &filename, const FeatureMap &feature_map)
stores the map feature_map in file with name filename.
CoordinateType getRT() const
Returns the RT coordinate (index 0)
Definition: Peak2D.h:208
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Data processing for FIA-MS data.
Definition: FIAMSDataProcessor.h:60
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:71
A container for features.
Definition: FeatureMap.h:98
ConvexHull2D & getConvexHull() const
Returns the overall convex hull of the feature (calculated from the convex hulls of the mass traces)
An LC-MS feature.
Definition: Feature.h:70
This class provides Input/Output functionality for feature maps.
Definition: FeatureXMLFile.h:62
const PositionType & getPosition() const
Non-mutable access to the position.
Definition: Peak2D.h:178
DBoundingBox< 2 > getBoundingBox() const
returns the bounding box of the feature hull points
void store(const String &filename)
Writes the data to a file.
std::vector< float > bin_sizes_
Definition: FIAMSDataProcessor.h:177
Computes the Savitzky-Golay filter coefficients using QR decomposition.
Definition: SavitzkyGolayFilter.h:101
CoordinateType getMZ() const
Returns the m/z coordinate (index 1)
Definition: Peak2D.h:196
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
void sortByPosition()
Sort features by position. Lexicographical comparison (first RT then m/z) is done.
static double pearsonCorrelationCoefficient(IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b)
Calculates the Pearson correlation coefficient for the values in [begin_a, end_a) and [begin_b,...
Definition: StatisticFunctions.h:521