Logic for populating plots in the SAV Analysis and Indexing tabs

Functions

template<class Point >
void plot_by_cycle_t (model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::plot_data< Point > &data, const bool skip_empty)
 
template<class Point >
void plot_by_cycle_t (model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::plot_data< Point > &data, const bool skip_empty)
 
void plot_by_cycle (model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty) INTEROP_THROW_SPEC((model
 
void plot_by_cycle (model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty) INTEROP_THROW_SPEC((model
 
template<class Point >
void plot_by_lane_t (const model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::plot_data< Point > &data, const bool skip_empty) INTEROP_THROW_SPEC((model
 
void plot_by_lane (const model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty) INTEROP_THROW_SPEC((model
 
void plot_by_lane (const model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty) INTEROP_THROW_SPEC((model
 
void plot_flowcell_map (model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::flowcell_data &data, float *buffer,::uint32_t *tile_buffer, const bool skip_empty) INTEROP_THROW_SPEC((model
 
void plot_flowcell_map (model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::flowcell_data &data, float *buffer,::uint32_t *tile_buffer, const bool skip_empty) INTEROP_THROW_SPEC((model
 
void plot_qscore_heatmap (model::metrics::run_metrics &metrics, const model::plot::filter_options &options, model::plot::heatmap_data &data, float *buffer, const size_t) INTEROP_THROW_SPEC((model
 
void plot_qscore_histogram (model::metrics::run_metrics &metrics, const model::plot::filter_options &options, model::plot::plot_data< model::plot::bar_point > &data, const size_t boundary) INTEROP_THROW_SPEC((model
 
void plot_sample_qc (model::metrics::run_metrics &metrics, const size_t lane, model::plot::plot_data< model::plot::bar_point > &data)
 

Variables

void plot_by_cycle(model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void plot_by_cycle(model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void list_by_cycle_metrics (std::vector< logic::utils::metric_type_description_t > &types, const bool ignore_accumulated=false)
 
void plot_by_lane(const model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void plot_by_lane(const model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::plot_data< model::plot::candle_stick_point > &data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void list_by_lane_metrics (std::vector< logic::utils::metric_type_description_t > &types, const bool ignore_pf=false)
 
void plot_flowcell_map(model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::flowcell_data &data, float *buffer=0,::uint32_t *tile_buffer=0, const bool skip_empty=true) INTEROP_THROW_SPEC((model voi plot_flowcell_map2 )(model::metrics::run_metrics &metrics, const constants::metric_type type, const model::plot::filter_options &options, model::plot::flowcell_data &data, float *buffer, const size_t buffer_size,::uint32_t *id_buffer, const size_t id_buffer_size, const bool skip_empty=true) INTEROP_THROW_SPEC((model
 
void plot_qscore_heatmap(model::metrics::run_metrics &metrics, const model::plot::filter_options &options, model::plot::heatmap_data &data, float *buffer=0, const size_t buffer_size=0) INTEROP_THROW_SPEC((model size_ count_rows_for_heatmap )(const model::metrics::run_metrics &metrics)
 

Detailed Description

Function Documentation

void illumina::interop::logic::plot::plot_by_cycle ( model::metrics::run_metrics metrics,
const constants::metric_type  type,
const model::plot::filter_options options,
model::plot::plot_data< model::plot::candle_stick_point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by cycle

Parameters
metricsrun metrics
typespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput plot data
skip_emptyset false for testing purposes
void illumina::interop::logic::plot::plot_by_cycle ( model::metrics::run_metrics metrics,
const std::string &  metric_name,
const model::plot::filter_options options,
model::plot::plot_data< model::plot::candle_stick_point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by cycle using the candle stick model

void illumina::interop::logic::plot::plot_by_cycle_t ( model::metrics::run_metrics metrics,
const constants::metric_type  type,
const model::plot::filter_options options,
model::plot::plot_data< Point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by cycle

Parameters
metricsrun metrics
typespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput plot data
skip_emptyset false for testing purposes
void illumina::interop::logic::plot::plot_by_cycle_t ( model::metrics::run_metrics metrics,
const std::string &  metric_name,
const model::plot::filter_options options,
model::plot::plot_data< Point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by cycle

void illumina::interop::logic::plot::plot_by_lane ( const model::metrics::run_metrics metrics,
const constants::metric_type  type,
const model::plot::filter_options options,
model::plot::plot_data< model::plot::candle_stick_point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by lane

Parameters
metricsrun metrics
typespecific metric value to plot by lane
optionsoptions to filter the data
dataoutput plot data
skip_emptyset false for testing purposes
void illumina::interop::logic::plot::plot_by_lane ( const model::metrics::run_metrics metrics,
const std::string &  metric_name,
const model::plot::filter_options options,
model::plot::plot_data< model::plot::candle_stick_point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by cycle

void illumina::interop::logic::plot::plot_by_lane_t ( const model::metrics::run_metrics metrics,
const constants::metric_type  type,
const model::plot::filter_options options,
model::plot::plot_data< Point > &  data,
const bool  skip_empty 
)

Plot a specified metric value by lane

Parameters
metricsrun metrics
typespecific metric value to plot by lane
optionsoptions to filter the data
dataoutput plot data
skip_emptyset false for testing purposes
void illumina::interop::logic::plot::plot_flowcell_map ( model::metrics::run_metrics metrics,
const constants::metric_type  type,
const model::plot::filter_options options,
model::plot::flowcell_data data,
float *  buffer,
::uint32_t *  tile_buffer,
const bool  skip_empty 
)

Plot a flowcell map

Parameters
metricsrun metrics
typespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput flowcell map
bufferpreallocated memory for data
tile_bufferpreallocated memory for tile ids
skip_emptyset false for testing purposes
void illumina::interop::logic::plot::plot_flowcell_map ( model::metrics::run_metrics metrics,
const std::string &  metric_name,
const model::plot::filter_options options,
model::plot::flowcell_data data,
float *  buffer,
::uint32_t *  tile_buffer,
const bool  skip_empty 
)

Plot a flowcell map

Parameters
metricsrun metrics
metric_namespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput flowcell map
bufferpreallocated memory for data
tile_bufferpreallocated memory for tile ids
skip_emptyset false for testing purposes
void illumina::interop::logic::plot::plot_qscore_heatmap ( model::metrics::run_metrics metrics,
const model::plot::filter_options options,
model::plot::heatmap_data data,
float *  buffer,
const size_t   
)

Plot a heat map of q-scores

Parameters
metricsrun metrics
optionsoptions to filter the data
dataoutput heat map data
bufferpreallocated memory
void illumina::interop::logic::plot::plot_qscore_histogram ( model::metrics::run_metrics metrics,
const model::plot::filter_options options,
model::plot::plot_data< model::plot::bar_point > &  data,
const size_t  boundary 
)

Plot a histogram of q-scores

Parameters
metricsrun metrics
optionsoptions to filter the data
dataoutput plot data
boundaryindex of bin to create the boundary sub plots (0 means do nothing)
void illumina::interop::logic::plot::plot_sample_qc ( model::metrics::run_metrics metrics,
const size_t  lane,
model::plot::plot_data< model::plot::bar_point > &  data 
)

Plot reads identified versus index

Parameters
metricsrun metrics
lanelane number
dataoutput plot data

Variable Documentation

void plot_qscore_heatmap (model::metrics::run_metrics& metrics, const model::plot::filter_options& options, model::plot::heatmap_data& data, float* buffer=0, const size_t buffer_size=0) INTEROP_THROW_SPEC((model size_ count_rows_for_heatmap) (const model::metrics::run_metrics &metrics)

Plot a heat map of q-scores

Parameters
metricsrun metrics
optionsoptions to filter the data
dataoutput heat map data
bufferoptional buffer of preallocated memory (for SWIG)
buffer_sizenumber of elements in buffer Count number of rows for the heat map
metricsrun metrics
Returns
number of rows
void plot_by_cycle (model::metrics::run_metrics& metrics, const constants::metric_type type, const model::plot::filter_options& options, model::plot::plot_data<model::plot::candle_stick_point>& data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void plot_by_cycle (model::metrics::run_metrics& metrics, const std::string& metric_name, const model::plot::filter_options& options, model::plot::plot_data<model::plot::candle_stick_point>& data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void list_by_cycle_metrics(std::vector< logic::utils::metric_type_description_t > &types, const bool ignore_accumulated=false)

Plot a specified metric value by cycle

Parameters
metricsrun metrics
typespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput plot data
skip_emptyset false for testing purposes Plot a specified metric value by cycle using the candle stick model

List metric types available for by cycle plots

Parameters
typesdestination vector to fill with metric types
ignore_accumulatedif true, ignore accumulated Q20 and Q30
void plot_by_lane (const model::metrics::run_metrics& metrics, const constants::metric_type type, const model::plot::filter_options& options, model::plot::plot_data<model::plot::candle_stick_point>& data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void plot_by_lane (const model::metrics::run_metrics& metrics, const std::string& metric_name, const model::plot::filter_options& options, model::plot::plot_data<model::plot::candle_stick_point>& data, const bool skip_empty=true) INTEROP_THROW_SPEC((model void list_by_lane_metrics(std::vector< logic::utils::metric_type_description_t > &types, const bool ignore_pf=false)

Plot a specified metric value by lane

Parameters
metricsrun metrics
typespecific metric value to plot by lane
optionsoptions to filter the data
dataoutput plot data
skip_emptyset false for testing purposes Plot a specified metric value by cycle

List metric types available for by lane plots

Parameters
typesdestination vector to fill with metric types
ignore_pfif true, ignore density PF and cluster PF
void plot_flowcell_map (model::metrics::run_metrics& metrics, const std::string& metric_name, const model::plot::filter_options& options, model::plot::flowcell_data& data, float* buffer=0, ::uint32_t* tile_buffer=0, const bool skip_empty=true) INTEROP_THROW_SPEC((model voi plot_flowcell_map2) (model::metrics::run_metrics &metrics, const std::string &metric_name, const model::plot::filter_options &options, model::plot::flowcell_data &data, float *buffer, const size_t buffer_size,::uint32_t *id_buffer, const size_t id_buffer_size, const bool skip_empty=true) INTEROP_THROW_SPEC((model
inline

Plot a flowcell map

Parameters
metricsrun metrics
typespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput flowcell map
bufferpreallocated memory for data
tile_bufferpreallocated memory for tile ids
skip_emptyset false for testing purposes Plot a flowcell map
metricsrun metrics
typespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput flowcell map
bufferpreallocated memory for data
buffer_sizesize of the buffer
id_bufferpreallocated memory for tile ids
id_buffer_sizesize of the buffer
skip_emptyset false for testing purposes

Plot a flowcell map

Parameters
metricsrun metrics
metric_namespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput flowcell map
bufferpreallocated memory for data
tile_bufferpreallocated memory for tile ids
skip_emptyset false for testing purposes Plot a flowcell map
metricsrun metrics
metric_namespecific metric value to plot by cycle
optionsoptions to filter the data
dataoutput flowcell map
bufferpreallocated memory for data
buffer_sizesize of the buffer
id_bufferpreallocated memory for tile ids
id_buffer_sizesize of the buffer
skip_emptyset false for testing purposes