libXpertMassCore and libXpertMassGui Developer Documentation
  • libXpertMassCore
  • LowMassDeconvolverParameters
  • MsXpS::libXpertMassCore::LowMassDeconvolverParameters Struct

    struct MsXpS::libXpertMassCore::LowMassDeconvolverParameters

    The LowMassDeconvolverParameters struct encapsulates all the parameters needed to configure the low mass deconvolving process. More...

    Header: #include <IsotopicData.hpp>

    Public Functions

    LowMassDeconvolverParameters()
    LowMassDeconvolverParameters(int min_charge, int max_charge, double min_mass, double max_mass, double ppm_mass_tolerance, double min_intensity, int min_isotopic_cluster_matches, int max_isotopic_cluster_matches, int cluster_shape_centroid_count, const MsXpS::libXpertMassCore::Averagine &averagine, bool full_heavy_isotope_labelling, const QString &processing_details_log_file_path, double explained_intensity_threshold, double relative_cluster_shape_tolerance, double min_pearson_correlation_score)
    LowMassDeconvolverParameters(const MsXpS::libXpertMassCore::LowMassDeconvolverParameters &other)
    void initialize(int min_charge, int max_charge, double min_mass, double max_mass, double ppm_mass_tolerance, double min_intensity, int min_isotopic_cluster_matches, int max_isotopic_cluster_matches, int cluster_shape_centroid_count, const MsXpS::libXpertMassCore::Averagine &the_averagine, bool full_heavy_isotope_labelling, const QString &processing_details_log_file_path, double explained_intensity_threshold, int relative_cluster_shape_tolerance, double min_pearson_correlation_score)
    QString toString() const
    MsXpS::libXpertMassCore::LowMassDeconvolverParameters &operator=(const MsXpS::libXpertMassCore::LowMassDeconvolverParameters &other)

    Detailed Description

    Member Function Documentation

    LowMassDeconvolverParameters::LowMassDeconvolverParameters()

    Constructs a LowMassDeconvolverParameters empty instance.

    LowMassDeconvolverParameters::LowMassDeconvolverParameters(int min_charge, int max_charge, double min_mass, double max_mass, double ppm_mass_tolerance, double min_intensity, int min_isotopic_cluster_matches, int max_isotopic_cluster_matches, int cluster_shape_centroid_count, const MsXpS::libXpertMassCore::Averagine &averagine, bool full_heavy_isotope_labelling, const QString &processing_details_log_file_path, double explained_intensity_threshold, double relative_cluster_shape_tolerance, double min_pearson_correlation_score)

    Constructs a LowMassDeconvolverParameters instance with all the parameters.

    isotopic_data_file_path cannot be empty and must point to an existing and valid file. The isotopic data are loaded from file and a pointer to these is stored in the object.

    averagine_formula_string must contain a valid formula, as it is validated against the isotopic data. The mass of the averagine formula (neutral formula) is calculated and stored in the object.

    Any failure with these assumptions triggers a qFatal() call.

    LowMassDeconvolverParameters::LowMassDeconvolverParameters(const MsXpS::libXpertMassCore::LowMassDeconvolverParameters &other)

    Constructs an instance using other as a template.

    void LowMassDeconvolverParameters::initialize(int min_charge, int max_charge, double min_mass, double max_mass, double ppm_mass_tolerance, double min_intensity, int min_isotopic_cluster_matches, int max_isotopic_cluster_matches, int cluster_shape_centroid_count, const MsXpS::libXpertMassCore::Averagine &the_averagine, bool full_heavy_isotope_labelling, const QString &processing_details_log_file_path, double explained_intensity_threshold, int relative_cluster_shape_tolerance, double min_pearson_correlation_score)

    Initializes this instance using the parameters

    isotopic_data_file_path cannot be empty and must point to an existing and valid file. The isotopic data are loaded from file and a pointer to these is stored in the object.

    averagine_formula_string must contain a valid formula, as it is validated against the isotopic data. The mass of the averagine formula (neutral formula) is calculated and stored in the object.

    Any failure with these assumptions triggers a qFatal() call.

    QString LowMassDeconvolverParameters::toString() const

    Crafts a text string describing the parameters and returns it.

    MsXpS::libXpertMassCore::LowMassDeconvolverParameters &LowMassDeconvolverParameters::operator=(const MsXpS::libXpertMassCore::LowMassDeconvolverParameters &other)

    Initializes this instance using other as a template.

    Returns a reference to this instance.