40 #include <OpenMS/config.h>
65 static void writeFeatures(
const std::vector<FLASHDeconvHelperStructs::MassFeature>& mass_features,
const String& file_name, std::fstream& fs);
81 static void writeTopFDFeatures(
const std::vector<FLASHDeconvHelperStructs::MassFeature>& mass_features,
82 const std::map<int, PeakGroup>& precursor_peak_groups,
83 const std::map<int, double>& scan_rt_map,
const String file_name, std::vector<std::fstream>& fs);
99 static void writePromexFeatures(
const std::vector<FLASHDeconvHelperStructs::MassFeature>& mass_features,
100 const std::map<int, PeakGroup>& precursor_peak_groups,
101 const std::map<int, double>& scan_rt_map,
FLASHDeconv feature level output *.tsv, *.ms1ft (for Promex), *.feature (for TopPIC) file formats.
Definition: FLASHDeconvFeatureFile.h:52
static void writeHeader(std::fstream &fs)
write header line for regular file output
static void writeFeatures(const std::vector< FLASHDeconvHelperStructs::MassFeature > &mass_features, const String &file_name, std::fstream &fs)
write the features in regular file output
static void writeTopFDFeatures(const std::vector< FLASHDeconvHelperStructs::MassFeature > &mass_features, const std::map< int, PeakGroup > &precursor_peak_groups, const std::map< int, double > &scan_rt_map, const String file_name, std::vector< std::fstream > &fs)
Find mass features and write features in output files.
static void writePromexHeader(std::fstream &fs)
write header line for promex file output
static void writePromexFeatures(const std::vector< FLASHDeconvHelperStructs::MassFeature > &mass_features, const std::map< int, PeakGroup > &precursor_peak_groups, const std::map< int, double > &scan_rt_map, const FLASHDeconvHelperStructs::PrecalculatedAveragine &avg, std::fstream &fs)
Find mass features and write features in output files.
static void writeTopFDFeatureHeader(std::vector< std::fstream > &fs)
write header line for topFD feature files
Averagine patterns pre-calculated for speed up. Other variables are also calculated for fast cosine c...
Definition: FLASHDeconvHelperStructs.h:60
A more convenient string class.
Definition: String.h:60
FLASHIda C++ to C# (or vice versa) bridge functions The functions here are called in C# to invoke fun...
Definition: FeatureDeconvolution.h:48
static FLASHDeconvHelperStructs::PrecalculatedAveragine avg
keeps the precalculated averagine to calculate average masses from monoisotopic masses
Definition: FLASHIdaBridgeFunctions.h:81