wallaroo.assays_v2.assay_result_v2
This module features classes related to an assay v2 result that help with analysis and visualization for uploaded assays.
This class implements the IAssayAnalysis interface that offers a number of methods for analyzing and visualizing assay results.
Attributes: - parent_assay: The AssayV2 object that this result belongs to. - raw: The raw AssayResultV2 object from the Wallaroo ML Ops API client.
Initializes the AssayResultV2 object.
Create a chart showing the bins, values and scores of an assay result.
show_scores
will also label each bin with its final weighted (if specified) score.
Parameters
- show_scores: Whether to show the scores for each bin.
Compare basic stats between baseline and window.
Returns
A dataframe including stats, start and end times for the window against the baseline.
This class implements the IAssayAnalysisList interface that offers a number of methods for analyzing and visualizing a list of assay results.
Attributes: - parent_assay: The AssayV2 object that this result belongs to.
Initializes the AssayResultsList object.
Create a basic chart of the scores for each unique iopath of an AssayResultsList.
Parameters
- labels: Custom labels for each unique iopath. If provided, these labels will be used in chart titles instead of raw iopath values.
- selected_labels: Labels to filter which iopaths to chart. If provided, only iopaths with labels in this list will be charted.
- nth_x_tick: Controls the density of x ticks. Every nth x tick will be used for the chart.
Create a chart of the scores from a dataframe representation of an AssayResultsList.
Parameters
- title: The title of the chart.
- nth_x_tick: Controls the density of x ticks. Every nth x tick will be used for the chart.
- start: The start time of the chart. Both start and end have to be provided to be used.
- end: The end time of the chart. Both start and end have to be provided to be used.