Class SessionHandler¶
Defined in File SessionHandler.h
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Types¶
public SmartPeak::ISequenceObserver(Struct ISequenceObserver)public SmartPeak::ITransitionsObserver(Struct ITransitionsObserver)public SmartPeak::IFeaturesObserver(Struct IFeaturesObserver)
Class Documentation¶
-
class SessionHandler : public SmartPeak::ISequenceObserver, public SmartPeak::ITransitionsObserver, public SmartPeak::IFeaturesObserver¶
Public Functions
-
virtual void onFeaturesUpdated() override¶
-
virtual void onSequenceUpdated() override¶
-
virtual void onTransitionsUpdated() override¶
-
void setMinimalDataAndFilters(const SequenceHandler &sequence_handler)¶
-
void setInjectionExplorer(GenericTableData &generic_table_data)¶
set the InjectionExplorer-specific data
-
void setTransitionExplorer(GenericTableData &generic_table_data)¶
set the TransitionExplorer-specific data
-
void setFeatureExplorer()¶
set the FeatureExplorer-specific data
-
void setSpectrumExplorer(GenericTableData &generic_table_data)¶
set the SpectrumExplorer-specific data
-
void setSequenceTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the SequenceTable-specific data
-
void setTransitionsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the TransitionsTable-specific data
-
void setSpectrumTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the SpectrumTable-specific data
-
void setWorkflowTable(const std::vector<ApplicationHandler::Command> &commands, GenericTableData &generic_table_data)¶
set the WorkflowTable-specific data
-
void setQuantMethodTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the QuantMethodTable-specific data
-
void setStdsConcsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the StdsConcsTable-specific data
-
void setComponentFiltersTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentFiltersTable-specific data
-
void setComponentGroupFiltersTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupFiltersTable-specific data
-
void setComponentQCsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentQCsTable-specific data
-
void setComponentGroupQCsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupQCsTable-specific data
-
void setComponentRSDFiltersTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentFiltersTable-specific data
-
void setComponentGroupRSDFiltersTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupFiltersTable-specific data
-
void setComponentRSDQCsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentQCsTable-specific data
-
void setComponentGroupRSDQCsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupQCsTable-specific data
-
void setComponentBackgroundFiltersTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentFiltersTable-specific data
-
void setComponentGroupBackgroundFiltersTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupFiltersTable-specific data
-
void setComponentBackgroundQCsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentQCsTable-specific data
-
void setComponentGroupBackgroundQCsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupQCsTable-specific data
-
void setComponentRSDEstimationsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentEstimationsTable-specific data
-
void setComponentGroupRSDEstimationsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupEstimationsTable-specific data
-
void setComponentBackgroundEstimationsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentEstimationsTable-specific data
-
void setComponentGroupBackgroundEstimationsTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
set the ComponentGroupEstimationsTable-specific data
-
bool setFeatureTable(const SequenceHandler &sequence_handler, GenericTableData &generic_table_data)¶
-
void setFeatureMatrix(const SequenceHandler &sequence_handler)¶
-
void getChromatogramScatterPlot(const SequenceHandler &sequence_handler, GraphVizData &result, const std::pair<float, float> &range, const std::set<std::string> &sample_names, const std::set<std::string> &component_names) const¶
-
void getChromatogramTIC(const SequenceHandler &sequence_handler, GraphVizData &result, const std::pair<float, float> &range, const std::set<std::string> &sample_names) const¶
-
void getChromatogramXIC(const SequenceHandler &sequence_handler, GraphVizData &result, const std::pair<float, float> &range, const std::set<std::string> &sample_names, const std::set<std::string> &component_names, float mz) const¶
-
void getSpectrumScatterPlot(const SequenceHandler &sequence_handler, GraphVizData &result, const std::pair<float, float> &range, const std::set<std::string> &sample_names, const std::set<std::string> &component_group_names) const¶
-
void getSpectrumMSMSPlot(const SequenceHandler &sequence_handler, GraphVizData &result, const std::pair<float, float> &range, const std::set<std::string> &sample_names, const std::set<std::string> &component_group_names, const float rt, const int ms_level, const bool has_convex_hull_only) const¶
-
void setFeatureLinePlot()¶
-
void getHeatMap(const SequenceHandler &sequence_handler, HeatMapData &result, const std::string &feature_name)¶
-
bool setCalibratorsScatterLinePlot(const SequenceHandler &sequence_handler, CalibrationData &result)¶
-
Eigen::Tensor<std::string, 1> getInjectionExplorerHeader()¶
-
Eigen::Tensor<std::string, 2> getInjectionExplorerBody()¶
-
Eigen::Tensor<std::string, 1> getTransitionExplorerHeader()¶
-
Eigen::Tensor<std::string, 2> getTransitionExplorerBody()¶
-
Eigen::Tensor<std::string, 1> getSpectrumExplorerHeader()¶
-
Eigen::Tensor<std::string, 2> getSpectrumExplorerBody()¶
-
Eigen::Tensor<bool, 1> getSequenceTableFilters()¶
-
Eigen::Tensor<bool, 1> getTransitionsTableFilters()¶
-
Eigen::Tensor<bool, 1> getSpectrumTableFilters()¶
-
Eigen::Tensor<bool, 1> getFiltersTable(const Eigen::Tensor<std::string, 2> &to_filter) const¶
-
Eigen::Tensor<bool, 1> getGroupFiltersTable(const Eigen::Tensor<std::string, 2> &to_filter) const¶
-
std::set<std::string> getSelectInjectionNamesWorkflow(const SequenceHandler &sequence_handler)¶
-
std::set<std::string> getSelectSequenceSegmentNamesWorkflow(const SequenceHandler &sequence_handler)¶
-
std::set<std::string> getSelectSampleGroupNamesWorkflow(const SequenceHandler &sequence_handler)¶
-
Eigen::Tensor<std::string, 1> getSelectSampleNamesTable()¶
-
Eigen::Tensor<std::string, 1> getSelectSampleNamesPlot()¶
-
Eigen::Tensor<std::string, 1> getSelectTransitionsTable() const¶
-
Eigen::Tensor<std::string, 1> getSelectTransitionGroupsTable() const¶
-
Eigen::Tensor<std::string, 1> getSelectTransitionsPlot()¶
-
Eigen::Tensor<std::string, 1> getSelectTransitionGroupsPlot()¶
-
Eigen::Tensor<std::string, 1> getSelectFeatureMetaValuesTable()¶
-
Eigen::Tensor<std::string, 1> getSelectFeatureMetaValuesPlot()¶
-
Eigen::Tensor<std::string, 1> getSelectSpectrumPlot()¶
-
int getNSelectedSampleNamesTable()¶
-
int getNSelectedSampleNamesPlot()¶
-
int getNSelectedTransitionsTable()¶
-
int getNSelectedTransitionsPlot()¶
-
int getNSelectedFeatureMetaValuesTable()¶
-
int getNSelectedFeatureMetaValuesPlot()¶
Public Members
-
ExplorerData injection_explorer_data¶
-
ExplorerData transition_explorer_data¶
-
ExplorerData spectrum_explorer_data¶
-
ExplorerData feature_explorer_data¶
-
GenericTableData feature_table¶
-
GenericTableData sequence_table¶
-
GenericTableData transitions_table¶
-
GenericTableData spectrum_table¶
-
GenericTableData feature_pivot_table¶
-
Eigen::Tensor<float, 2> feat_sample_data¶
-
Eigen::Tensor<float, 2> feat_value_data¶
-
Eigen::Tensor<std::string, 1> feat_line_series_names¶
-
std::string feat_line_x_axis_title¶
-
std::string feat_line_y_axis_title¶
-
float feat_line_sample_min¶
-
float feat_line_sample_max¶
-
float feat_value_min¶
-
float feat_value_max¶
-
Eigen::Tensor<std::string, 1> feat_row_labels¶
-
Eigen::Tensor<std::string, 1> feat_col_labels¶
-
struct CalibrationData¶
-
struct ExplorerData¶
-
struct GraphVizData¶
Public Functions
-
inline void reset(const std::string &x_axis_title, const std::string &y_axis_title, const std::optional<std::string> &z_axis_title, int max_nb_points)¶
-
inline bool addData(const std::vector<float> &x_data, const std::vector<float> &y_data, const std::string &data_name)¶
-
inline bool addScatterData(const std::vector<float> &x_data, const std::vector<float> &y_data, const std::string &data_name)¶
Public Members
-
std::vector<std::string> series_names_area_¶
-
std::vector<std::vector<float>> x_data_area_¶
-
std::vector<std::vector<float>> y_data_area_¶
-
std::vector<std::string> series_names_scatter_¶
-
std::vector<std::vector<float>> x_data_scatter_¶
-
std::vector<std::vector<float>> y_data_scatter_¶
-
std::string x_axis_title_¶
-
std::string y_axis_title_¶
-
std::vector<float> z_data_area_¶
-
std::optional<std::string> z_axis_title_¶
-
float x_min_ = 0.0f¶
-
float x_max_ = 0.0f¶
-
float y_min_ = 0.0f¶
-
float y_max_ = 0.0f¶
-
bool points_overflow_ = false¶
-
int nb_points_ = 0¶
-
int max_nb_points_ = 0¶
-
inline void reset(const std::string &x_axis_title, const std::string &y_axis_title, const std::optional<std::string> &z_axis_title, int max_nb_points)¶
-
struct HeatMapData¶
Public Members
-
Eigen::Tensor<float, 2, Eigen::RowMajor> feat_heatmap_data¶
-
Eigen::Tensor<std::string, 1> feat_heatmap_row_labels¶
-
Eigen::Tensor<std::string, 1> feat_heatmap_col_labels¶
-
std::string feat_heatmap_x_axis_title¶
-
std::string feat_heatmap_y_axis_title¶
-
float feat_value_min_¶
-
float feat_value_max_¶
-
std::string selected_feature_¶
-
Eigen::Tensor<std::string, 1> selected_sample_names_¶
-
Eigen::Tensor<std::string, 1> selected_transitions_¶
-
Eigen::Tensor<std::string, 1> selected_transition_groups_¶
-
Eigen::Tensor<float, 2, Eigen::RowMajor> feat_heatmap_data¶
-
virtual void onFeaturesUpdated() override¶