Class to read a file describing the Swath Windows. More...
#include <OpenMS/ANALYSIS/OPENSWATH/SwathWindowLoader.h>
Static Public Member Functions | |
static void | annotateSwathMapsFromFile (const std::string &filename, std::vector< OpenSwath::SwathMap > &swath_maps, bool doSort) |
Annotate a Swath map using a Swath window file specifying the individual windows. More... | |
static void | readSwathWindows (const std::string &filename, std::vector< double > &swath_prec_lower_, std::vector< double > &swath_prec_upper_) |
Reading a tab delimited file specifying the SWATH windows. More... | |
Class to read a file describing the Swath Windows.
The file must of be tab delimited and of the following format: window_lower window_upper 400 425 425 450 ...
Note that the first line is a header and will be skipped.
|
static |
Annotate a Swath map using a Swath window file specifying the individual windows.
filename | The filename of the tab delimited file |
swath_maps | The list of SWATH maps (assumed to be in the same order as in the file) |
doSort | Sort the windows after reading in ascending order |
Exception::IllegalArgument | if the maps in the file and the provided input maps to not match |
Referenced by SortPairDoubleByFirst().
|
static |
Reading a tab delimited file specifying the SWATH windows.
The file must of be tab delimited and of the following format: window_lower window_upper 400 425 425 450 ...
Note that the first line is a header and will be skipped.
filename | The filename of the tab delimited file |
swath_prec_lower_ | The output vector for the window start |
swath_prec_upper_ | The output vector for the window end |
Referenced by SortPairDoubleByFirst().
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:13 using doxygen 1.8.13 |